projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec87968
)
fix invalid free in if_up
author
Nikolas Garofil
<garo@dunaldi.garofil.be>
Sun, 15 Nov 2009 22:45:33 +0000
(23:45 +0100)
committer
Nikolas Garofil
<garo@dunaldi.garofil.be>
Sun, 15 Nov 2009 22:45:33 +0000
(23:45 +0100)
src/core.c
patch
|
blob
|
history
diff --git
a/src/core.c
b/src/core.c
index
637c28d
..
be3fb2a
100644
(file)
--- a/
src/core.c
+++ b/
src/core.c
@@
-1766,7
+1766,7
@@
void free_text_objects(struct text_object *root, int internal)
break;
#endif /* X11 */
}
- if(obj->special_data) free(obj->special_data);
+ if(obj->type != OBJ_if_up && obj->special_data) free(obj->special_data);
free(obj);
}
#undef data