diff options
| author | 2009-02-14 17:32:19 +0100 | |
|---|---|---|
| committer | 2009-02-14 17:32:19 +0100 | |
| commit | aa3a4c8d45be9da585d1aae141a546cfbbdf509f (patch) | |
| tree | 5924d46f2392127fa75272daa99e85fc73c9e9bf /src/bplist.c | |
| parent | 461c947d1238a1ca5604ec34bd4fe84e040334f7 (diff) | |
| download | libplist-aa3a4c8d45be9da585d1aae141a546cfbbdf509f.tar.gz libplist-aa3a4c8d45be9da585d1aae141a546cfbbdf509f.tar.bz2 | |
Fix some memory leaks.
Diffstat (limited to 'src/bplist.c')
| -rw-r--r-- | src/bplist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c index 003bff1..d848e6a 100644 --- a/src/bplist.c +++ b/src/bplist.c | |||
| @@ -487,6 +487,7 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist) | |||
| 487 | } | 487 | } |
| 488 | 488 | ||
| 489 | *plist = nodeslist[root_object]; | 489 | *plist = nodeslist[root_object]; |
| 490 | free(nodeslist); | ||
| 490 | } | 491 | } |
| 491 | 492 | ||
| 492 | static guint plist_data_hash(gconstpointer key) | 493 | static guint plist_data_hash(gconstpointer key) |
