summaryrefslogtreecommitdiff
path: root/ext/vulkan/vkbufferpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/vulkan/vkbufferpool.c')
-rw-r--r--ext/vulkan/vkbufferpool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/vulkan/vkbufferpool.c b/ext/vulkan/vkbufferpool.c
index df64358e1..74690fdbc 100644
--- a/ext/vulkan/vkbufferpool.c
+++ b/ext/vulkan/vkbufferpool.c
@@ -207,6 +207,7 @@ gst_vulkan_buffer_pool_new (GstVulkanDevice * device)
GstVulkanBufferPool *pool;
pool = g_object_new (GST_TYPE_VULKAN_BUFFER_POOL, NULL);
+ g_object_ref_sink (pool);
pool->device = gst_object_ref (device);
GST_LOG_OBJECT (pool, "new Vulkan buffer pool for device %" GST_PTR_FORMAT,