diff options
Diffstat (limited to 'src/plist.c')
| -rw-r--r-- | src/plist.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c index d0e6c77..386b04e 100644 --- a/src/plist.c +++ b/src/plist.c | |||
| @@ -382,6 +382,14 @@ PLIST_API void plist_free(plist_t plist) | |||
| 382 | } | 382 | } |
| 383 | } | 383 | } |
| 384 | 384 | ||
| 385 | PLIST_API void plist_mem_free(void* ptr) | ||
| 386 | { | ||
| 387 | if (ptr) | ||
| 388 | { | ||
| 389 | free(ptr); | ||
| 390 | } | ||
| 391 | } | ||
| 392 | |||
| 385 | static plist_t plist_copy_node(node_t *node) | 393 | static plist_t plist_copy_node(node_t *node) |
| 386 | { | 394 | { |
| 387 | plist_type node_type = PLIST_NONE; | 395 | plist_type node_type = PLIST_NONE; |
