PKGBUILDs/extra/wmix/wmix-fix-free.patch

12 lines
363 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
--- 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) {