Commit ecd0efd1 authored by Michael Beck's avatar Michael Beck
Browse files

fixed missing sizeof ...

[r8580]
parent b0aca079
......@@ -37,7 +37,7 @@ static plist_element_t *allocate_element(plist_t* list) {
}
plist_t *plist_new(void) {
plist_t *list = xmalloc(sizeof(*list));
plist_t *list = xmalloc(sizeof(*list) + sizeof(*list->obst));
list->obst = (struct obstack *)&list[1];
list->foreign_obstack = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment