projects
/
platform
/
upstream
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b4063
)
Fix memory leak
73/304073/1
accepted/tizen/unified/20240117.163240
accepted/tizen/unified/riscv/20240117.080055
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Mon, 8 Jan 2024 21:00:03 +0000
(22:00 +0100)
committer
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 10 Jan 2024 00:01:30 +0000
(
01:01
+0100)
Coverity-ID: 1733876
Change-Id: I106b58cc5cca2d55b235231fbf70052a66b878fb
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
nbd-server.c
patch
|
blob
|
history
diff --git
a/nbd-server.c
b/nbd-server.c
index
f355538
..
8a9ca41
100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-860,7
+860,7
@@
GArray* parse_cfile(gchar* f, struct generic_conf *const genconf, bool expect_ge
g_autoptr(GError) err = NULL;
const char *err_msg=NULL;
GArray *retval=NULL;
-
gchar **groups
;
+
_cleanup_(g_strfreevp) gchar **groups = NULL
;
gboolean bval;
gint ival;
gint64 i64val;