Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
monitoring: Fix display on connection error
[src/app-framework-binder.git]
/
src
/
globset.c
diff --git
a/src/globset.c
b/src/globset.c
index
2bad449
..
5e414dd
100644
(file)
--- a/
src/globset.c
+++ b/
src/globset.c
@@
-323,7
+323,7
@@
int globset_add(
}
/* not found, create it */
- ph = malloc(len + sizeof *ph);
+ ph = malloc(
1 +
len + sizeof *ph);
if (!ph)
return -1;