commit 7e8fcc1f037f2d9339cb5f4e0da6eeefde152525 Author: sin <[email protected]> Date: Tue Dec 16 20:14:08 2014 +0000
logger: Don't bother freeing buf
There are many more instances of this pattern.
diff --git a/logger.c b/logger.c
index 3496db7..d8d0fc7 100644
--- a/logger.c
+++ b/logger.c
@@ -86,7 +86,6 @@ main(int argc, char *argv[])
}
syslog(priority, "%s", buf);
}
- free(buf);
closelog();
return 0;
}
