summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plist.c b/src/plist.c
index cbd6302..a375d5b 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -71,7 +71,7 @@ char **read_dict_element_strings(xmlNode *dict) {
// one last thing...
old = return_me;
- return_me = realloc(return_me, sizeof(char*) * current_length+1);
+ return_me = realloc(return_me, sizeof(char*) * (current_length+1));
return_me[current_pos] = strdup("");
return return_me;