---
fftools/graph/graphprint.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fftools/graph/graphprint.c b/fftools/graph/graphprint.c
index fc94a75797..9e3e03274a 100644
--- a/fftools/graph/graphprint.c
+++ b/fftools/graph/graphprint.c
@@ -862,6 +862,8 @@ static void uninit_graphprint(GraphPrintContext *gpc)
// Finalize the print buffer if it was initialized
av_bprint_finalize(&gpc->pbuf, NULL);
+
+ av_freep(&gpc);
}
static int init_graphprint(GraphPrintContext **pgpc, AVBPrint *target_buf)
--
2.47.2
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".