projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56f047
)
[CONF] Fix nnstreamer conf load function
author
gichan-jang
<gichan2.jang@samsung.com>
Thu, 21 May 2020 02:23:32 +0000
(11:23 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Fri, 22 May 2020 04:22:03 +0000
(13:22 +0900)
Since key_file is declared using g_autoptr macro, it does not need to cleaning up variables.
It is related issue #2393.
Signed-off-by: gichan-jang <gichan2.jang@samsung.com>
gst/nnstreamer/nnstreamer_conf.c
patch
|
blob
|
history
diff --git
a/gst/nnstreamer/nnstreamer_conf.c
b/gst/nnstreamer/nnstreamer_conf.c
index
0c1451d
..
26e88b8
100644
(file)
--- a/
gst/nnstreamer/nnstreamer_conf.c
+++ b/
gst/nnstreamer/nnstreamer_conf.c
@@
-299,7
+299,7
@@
gboolean
nnsconf_loadconf (gboolean force_reload)
{
const gchar root_path_prefix[] = NNSTREAMER_SYS_ROOT_PATH_PREFIX;
-
g_autoptr (GKeyFile)
key_file = NULL;
+
GKeyFile *
key_file = NULL;
guint i, t;
if (FALSE == force_reload && TRUE == conf.loaded)