[gegl/video-rejuvenation] ff-load: free audio frames



commit 2785df957573a87f0f342a243e7a95187159e8bb
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Nov 18 17:38:56 2015 +0100

    ff-load: free audio frames

 operations/external/ff-load.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 33c556c..74c1d0f 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -607,6 +607,7 @@ static void get_sample_data (Priv *p, long sample_no, float *left, float *right)
             if (sample_no > af->pos + af->len)
             {
               p->audio_track = g_list_remove (p->audio_track, af);
+              g_free (af);
               goto again;
             }
           }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]