A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A leak of 5 bytes is better than a segfault when more than one chunk in gras-log
[simgrid.git]
/
src
/
xbt
/
log.c
diff --git
a/src/xbt/log.c
b/src/xbt/log.c
index
37c978c
..
7fa6998
100644
(file)
--- a/
src/xbt/log.c
+++ b/
src/xbt/log.c
@@
-28,7
+28,7
@@
static void _free_setting(void *s) {
gras_log_setting_t *set=(gras_log_setting_t*)s;
if (set) {
free(set->catname);
- free(set);
+// free(set); FIXME: uncommenting this leads to segfault when more than one chunk is passed as gras-log
}
}