[gthumb] gstreamer utils: fixed memory leak
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] gstreamer utils: fixed memory leak
- Date: Sat, 22 May 2021 08:27:39 +0000 (UTC)
commit 6c18f78ba11d59abbc1488c0ff1a8677566d13ec
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri May 21 08:08:23 2021 +0200
gstreamer utils: fixed memory leak
extensions/gstreamer_utils/gstreamer-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/gstreamer_utils/gstreamer-utils.c b/extensions/gstreamer_utils/gstreamer-utils.c
index d1f5e972..83812100 100644
--- a/extensions/gstreamer_utils/gstreamer-utils.c
+++ b/extensions/gstreamer_utils/gstreamer-utils.c
@@ -794,6 +794,7 @@ _gst_playbin_get_current_frame (GstElement *playbin,
sample);
gst_memory_unmap (memory, &info);
+ gst_memory_unref (memory);
}
if (data->pixbuf == NULL)
@@ -804,4 +805,3 @@ _gst_playbin_get_current_frame (GstElement *playbin,
return TRUE;
}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]