PKGBUILDs/extra/wmix/wmix-fix-free.patch
2009-10-09 21:23:22 -05:00

11 lines
363 B
Diff

--- wmix.c.orig 2004-05-12 21:30:53.000000000 -0300
+++ wmix.c 2009-07-08 00:20:28.000000000 -0300
@@ -134,7 +134,7 @@
}
/* handle writing PID file, silently ignore if we can't do it */
- pid = calloc(1, strlen(home) + 10);
+ pid = calloc(1, strlen(home) + 11);
sprintf(pid, "%s/.wmix.pid", home);
fp = fopen(pid, "w");
if (fp) {