projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a memory leak if parent directory creation failed.
[oweals/busybox.git]
/
libbb
/
syslog_msg_with_name.c
diff --git
a/libbb/syslog_msg_with_name.c
b/libbb/syslog_msg_with_name.c
index d72755a37a9cc9f0f32b0b3a060ee34af1fecb51..5dadcc4335fabfb79eae4fe77a9796d4d46045c4 100644
(file)
--- a/
libbb/syslog_msg_with_name.c
+++ b/
libbb/syslog_msg_with_name.c
@@
-29,8
+29,6
@@
#include <sys/syslog.h>
#include "libbb.h"
-extern const char *applet_name;
-
void syslog_msg_with_name(const char *name, int facility, int pri, const char *msg)
{
openlog(name, 0, facility);