Browse Source

use obj_* to catch double-free errors

git.mgm/mediaproxy-ng/2.1
Richard Fuchs 14 years ago
parent
commit
4b74e6f476
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/obj.h

+ 1
- 0
daemon/obj.h View File

@ -151,6 +151,7 @@ static inline void __obj_put(void *p
#endif
if (o->free_func)
o->free_func(o);
o->magic = 0;
g_slice_free1(o->size, o);
}


Loading…
Cancel
Save