You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
fftools/graphprint: Fix leak of graphprint object
This commit is contained in:
@ -862,6 +862,8 @@ static void uninit_graphprint(GraphPrintContext *gpc)
|
|||||||
|
|
||||||
// Finalize the print buffer if it was initialized
|
// Finalize the print buffer if it was initialized
|
||||||
av_bprint_finalize(&gpc->pbuf, NULL);
|
av_bprint_finalize(&gpc->pbuf, NULL);
|
||||||
|
|
||||||
|
av_freep(&gpc);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int init_graphprint(GraphPrintContext **pgpc, AVBPrint *target_buf)
|
static int init_graphprint(GraphPrintContext **pgpc, AVBPrint *target_buf)
|
||||||
|
Reference in New Issue
Block a user