packages: nvram: fix memory leak in _nvram_free
authorZhai Zhaoxuan <zhaizhaoxuan@xiaomi.com>
Tue, 11 Jul 2017 10:12:00 +0000 (18:12 +0800)
committerJohn Crispin <john@phrozen.org>
Wed, 15 Nov 2017 20:11:23 +0000 (21:11 +0100)
commitc382237ac33a787043b22abc42f0c5a80278baae
treefc0553354472e334095473b14f4b2e0374823449
parent2dca7177e75d2b910ace883e08cbadcaa050666f
packages: nvram: fix memory leak in _nvram_free

The value of nvram_tuple_t is allocated in _nvram_realloc,
but it is not freed in _nvram_free.

Signed-off-by: Zhai Zhaoxuan <zhaizhaoxuan@xiaomi.com>
package/utils/nvram/src/nvram.c