diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-10 04:28:19 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-10 04:28:19 +0300 |
commit | d031b203c7ea7f5fe7ba8dfb16693bc91b3feaea (patch) | |
tree | 2cbc5fb25bea68cda0a90bf39cbe89d483a20b0c /libbb/xreadlink.c | |
parent | 9bd8d0c23e867238bad53b04a029f71db9b88c3f (diff) |
syslogd: support "symlink to symlink" for /dev/log; reduce stack usage
function old new delta
create_socket - 134 +134
syslogd_main 1132 865 -267
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 134/-267) Total: -133 bytes
text data bss dec hex filename
775603 974 9420 785997 bfe4d busybox_old
775445 974 9420 785839 bfdaf busybox_unstripped
Diffstat (limited to 'libbb/xreadlink.c')
-rw-r--r-- | libbb/xreadlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c index 0b6eb05f3..706a3d9ff 100644 --- a/libbb/xreadlink.c +++ b/libbb/xreadlink.c @@ -65,7 +65,7 @@ char *xmalloc_follow_symlinks(const char *path) if (!--looping) { free(linkpath); -free_buf_ret_null: + free_buf_ret_null: free(buf); return NULL; } |