diff --git a/libavcodec/hashtable.c b/libavcodec/hashtable.c index 0e9b3d88c2..0d5c816cd7 100644 --- a/libavcodec/hashtable.c +++ b/libavcodec/hashtable.c @@ -207,6 +207,6 @@ av_cold void ff_hashtable_freep(FFHashtableContext **ctx) { if (*ctx) { av_freep(&(*ctx)->table); + av_freep(ctx); } - av_freep(ctx); }