summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/slmon/files/slmon-0.5.13-invalid-free.patch')
-rw-r--r--app-misc/slmon/files/slmon-0.5.13-invalid-free.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch b/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch
deleted file mode 100644
index 9728492..0000000
--- a/app-misc/slmon/files/slmon-0.5.13-invalid-free.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- rc.c.orig 2004-06-20 18:56:48.000000000 +0300
-+++ rc.c 2007-04-09 19:14:05.000000000 +0300
-@@ -177,9 +177,10 @@
- char *home, dotrc[1024] = { 0 };
-
- home = getenv("HOME");
-- strcpy(dotrc, home);
-- strcat(dotrc, "/.slmonrc");
-- free(home);
-+ if ( home != NULL ) {
-+ strcpy(dotrc, home);
-+ strcat(dotrc, "/.slmonrc");
-+ }
-
- if ((f = fopen("/etc/slmonrc", "r")) != NULL) {
- slmon_conf_parse(f);