diff options
author | Martin Aumueller | 2008-07-30 23:05:25 +0200 |
---|---|---|
committer | Matt Colyer | 2008-07-30 21:29:59 -0700 |
commit | 2a406b92bc5e8d8d0b5c6cd78327b3d08a8bbeff (patch) | |
tree | b7e7a59f038346ddc8f3d4aada29637f60bf4161 /src | |
parent | db67cbb96cd6e3c13363e050089d29a82f9142b3 (diff) | |
download | libplist-2a406b92bc5e8d8d0b5c6cd78327b3d08a8bbeff.tar.gz libplist-2a406b92bc5e8d8d0b5c6cd78327b3d08a8bbeff.tar.bz2 |
Apparently missing parens (with respect to string length calculation).
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src')
-rw-r--r-- | src/plist.c | 2 |
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; |