summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile.c b/profile.c
index 531839368..f2cc526dd 100644
--- a/profile.c
+++ b/profile.c
@@ -743,4 +743,5 @@ void plot(struct graphics_context *gc, int w, int h, struct dive *dive)
cairo_close_path(gc->cr);
cairo_stroke(gc->cr);
+ free(pi);
}