From 5e4406f36cd0a91b300f24d3aa9b7ee205ecaba0 Mon Sep 17 00:00:00 2001 From: Sangjung Woo Date: Mon, 4 May 2020 16:04:40 +0900 Subject: [PATCH] [Android/AMC] Set the omitted finalize function 'gst_amc_src_finalize()' exists in the code but the finalize of GObject class is not set. Because of this reason, gst_amc_src_finalize() function is not called at all. This patch fixes this bug. Signed-off-by: Sangjung Woo --- ext/nnstreamer/android_source/gstamcsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/nnstreamer/android_source/gstamcsrc.c b/ext/nnstreamer/android_source/gstamcsrc.c index c84464d..d79340d 100644 --- a/ext/nnstreamer/android_source/gstamcsrc.c +++ b/ext/nnstreamer/android_source/gstamcsrc.c @@ -272,6 +272,7 @@ gst_amc_src_class_init (GstAMCSrcClass * klass) /** property-related init */ gobject_class->set_property = gst_amc_src_set_property; gobject_class->get_property = gst_amc_src_get_property; + gobject_class->finalize = gst_amc_src_finalize; g_object_class_install_property (gobject_class, PROP_LOCATION, g_param_spec_string ("location", "File Location", -- 2.7.4