updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / wmix / wmix-fix-free.patch
blob340f91771fa7e9295e9cbe5689947b9de7755c07
1 --- wmix.c.orig 2004-05-12 21:30:53.000000000 -0300
2 +++ wmix.c 2009-07-08 00:20:28.000000000 -0300
3 @@ -134,7 +134,7 @@
6 /* handle writing PID file, silently ignore if we can't do it */
7 - pid = calloc(1, strlen(home) + 10);
8 + pid = calloc(1, strlen(home) + 11);
9 sprintf(pid, "%s/.wmix.pid", home);
10 fp = fopen(pid, "w");
11 if (fp) {