Skip to content

Commit

Permalink
icaltypes.c - icalreqstattype_from_string(), copy the reqstattype's d…
Browse files Browse the repository at this point in the history
…ebug

string into its own memory in the ring buffer.

Issue#253
  • Loading branch information
winterz committed May 28, 2017
1 parent 978b5eb commit 6b9438d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libical/icaltypes.c
Expand Up @@ -140,7 +140,7 @@ struct icalreqstattype icalreqstattype_from_string(const char *str)

p2 = strchr(p1 + 1, ';');
if (p2 != 0 && *p2 != 0) {
stat.debug = p2 + 1;
stat.debug = icalmemory_tmp_copy(p2 + 1);
}

return stat;
Expand Down

0 comments on commit 6b9438d

Please sign in to comment.