diff options
-rw-r--r-- | src/plist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c index eac7cc0..ed83e3c 100644 --- a/src/plist.c +++ b/src/plist.c @@ -182,9 +182,11 @@ static void plist_copy_node(GNode * node, gpointer parent_node_ptr) case PLIST_DATA: newdata->buff = (uint8_t *) malloc(data->length); memcpy(newdata->buff, data->buff, data->length); + break; case PLIST_KEY: case PLIST_STRING: newdata->strval = strdup((char *) data->strval); + break; default: break; } |