fixed svace issue 30/186330/2
authorSejun Park <sejun79.park@samsung.com>
Thu, 9 Aug 2018 04:14:19 +0000 (13:14 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Tue, 14 Aug 2018 05:29:55 +0000 (05:29 +0000)
Change-Id: I372734a12920c106c9f9a09da6e01574595ca6a6

gst-libs/gst/allocators/gsttizenbufferpool.c

index 2dffbee7668afd21b5027ec2c4cacd1e5ee4b0eb..76db28014234d08e6b828d48e4a4ce2284f78a30 100644 (file)
@@ -135,8 +135,8 @@ unknown_format:
 static void
 _destroy_tbm_surface (struct UserPtrData *data)
 {
-  tbm_surface_internal_destroy ((tbm_surface_h)data);
   GST_DEBUG ("destroy surface %p", data);
+  tbm_surface_internal_destroy ((tbm_surface_h)data);
 }
 
 /* This function handles GstBuffer creation */