diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-05-30 09:47:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2015-05-30 09:47:26 +0000 |
commit | 1dc4f974ddd3716a10977311acbaef0e8e71db86 (patch) | |
tree | f2e22d5bb7069c4d515835a7c225049823ad2ced /sys/dev | |
parent | 8b2053c0e229799e4a73e67dd83f70c8c9c50620 (diff) |
Plug a memory leak by simplifying kv_free(). By checking the type and
returning early the key and value memory got leaked on HTTP header kvs
since their type was never set.
OK benno@
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions