diff options
author | phk <phk@FreeBSD.org> | 2008-03-19 10:56:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2008-03-19 10:56:51 +0000 |
commit | 394021fd916852fb59e3c5ab89f00e116294e1f7 (patch) | |
tree | 662c03344974dcf26c784b73457717f23bb6b17f /usr.sbin/fifolog/lib/fifolog_int.c | |
parent | d818a8db6839fadf3aba5d6d4a2bb79483200ba3 (diff) | |
download | FreeBSD-src-394021fd916852fb59e3c5ab89f00e116294e1f7.zip FreeBSD-src-394021fd916852fb59e3c5ab89f00e116294e1f7.tar.gz |
Fix two bugs introduced in conversion to FreeBSD source tree:
Off by one error in length calcuation of string records.
Don't attempt to free stack variable.
Diffstat (limited to 'usr.sbin/fifolog/lib/fifolog_int.c')
-rw-r--r-- | usr.sbin/fifolog/lib/fifolog_int.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/fifolog/lib/fifolog_int.c b/usr.sbin/fifolog/lib/fifolog_int.c index 9093174..158c613 100644 --- a/usr.sbin/fifolog/lib/fifolog_int.c +++ b/usr.sbin/fifolog/lib/fifolog_int.c @@ -192,7 +192,6 @@ fifolog_int_close(struct fifolog_file **ff) free(f->zs); if (f->recbuf != NULL) free(f->recbuf); - free(f); } static void |