1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-24 15:48:28 +00:00

Fixed bug in template stuff.

This commit is contained in:
Brenden Matthews 2009-03-29 20:26:16 -06:00
parent 99a496b3ea
commit 0d4f9499eb

View File

@ -2565,7 +2565,7 @@ static char *backslash_escape(const char *src, char **templates, unsigned int te
const char *p;
unsigned int dup_idx = 0, dup_len;
dup_len = strlen(src);
dup_len = strlen(src) + 1;
src_dup = malloc(dup_len * sizeof(char));
p = src;