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



commit 8407c3e75a8806690b6460b79007fdce02c5927e
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]