Merge branch 'move_subdir_rtsp-server' into tizen_gst_1.19.2_mono
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-bad / sys / dvb / dvbbasebin.c
index e85003a..a8646f8 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * dvbbasebin.c - 
+ * dvbbasebin.c -
  * Copyright (C) 2007 Alessandro Decina
  * Copyright (C) 2014 Samsung Electronics. All rights reserved.
- * 
+ *
  * Authors:
  *   Alessandro Decina <alessandro.d@gmail.com>
  *   Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
@@ -760,6 +760,7 @@ dvb_base_bin_request_new_pad (GstElement * element,
   gst_object_unref (pad);
   g_free (pad_name);
   gst_element_add_pad (element, ghost);
+  gst_object_unref(pad);
 
   return ghost;
 }