diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2009-03-09 14:47:35 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-03-09 14:47:35 -0700 |
commit | cbb9215591b618f09adc70889f32864a6f566f47 (patch) | |
tree | 1cd1fa7dc9e97d17ba89d99e8ef410a76e059207 /minilogd.c | |
parent | c206cfd1de94e2e79c1d9d42dc8f44f140d4c3f8 (diff) |
minilogd: ensure we free() the buffer
This isn't strictly needed, as memory is cleaned up
on exit anyway, but let's shoot for good form :)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'minilogd.c')
-rw-r--r-- | minilogd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ void freeBuffer() { free(buffer[x]); x++; } + free(buffer); } void cleanup(int exitcode) { |