[cheese] libcheese: don't leak the source element
- From: Luciana Fujii Pontello <lufujii src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] libcheese: don't leak the source element
- Date: Wed, 25 May 2011 02:31:42 +0000 (UTC)
commit 411fd1ff12527f1b39159cc05f4ed9ec20514831
Author: Alessandro Decina <alessandro decina collabora co uk>
Date: Thu May 19 17:42:52 2011 +0200
libcheese: don't leak the source element
Don't leak the source element when probing for the caps
Conflicts:
libcheese/cheese-camera-device.c
libcheese/cheese-camera-device.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcheese/cheese-camera-device.c b/libcheese/cheese-camera-device.c
index 487b48d..7503c6d 100644
--- a/libcheese/cheese-camera-device.c
+++ b/libcheese/cheese-camera-device.c
@@ -331,6 +331,7 @@ cheese_camera_device_get_caps (CheeseCameraDevice *device)
gst_object_unref (pad);
gst_caps_unref (caps);
+ gst_object_unref (src);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]