fftools/graphprint: Fix leak of graphprint object
This commit is contained in:
parent
06cee0c681
commit
2070cc138b
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue