projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: return of free'd string on error in strutils_split()
[lttng-tools.git]
/
src
/
common
/
string-utils
/
string-utils.c
diff --git
a/src/common/string-utils/string-utils.c
b/src/common/string-utils/string-utils.c
index c91d920e527799acec92b97b81108b32ce4c46df..8e1f516b6833eb96796e8bbf64cc33bb8d02e383 100644
(file)
--- a/
src/common/string-utils/string-utils.c
+++ b/
src/common/string-utils/string-utils.c
@@
-355,7
+355,7
@@
char **strutils_split(const char *input, char delim, bool escape_delim)
error:
strutils_free_null_terminated_array_of_strings(substrings);
-
+ substrings = NULL;
end:
return substrings;
}
This page took
0.024684 seconds
and
4
git commands to generate.