diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-27 01:38:15 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-04-27 01:38:15 +0000 |
commit | 1de0566a8b0e93bded2a5c2f666c064c4711a615 (patch) | |
tree | 4f4eb8188f18046b587b26e7d746f757ec9de712 /package/unvram/src/nvram.h | |
parent | 0f3ccb8868dc2b815c92bfa8b33d7211374268fb (diff) | |
download | upstream-1de0566a8b0e93bded2a5c2f666c064c4711a615.tar.gz upstream-1de0566a8b0e93bded2a5c2f666c064c4711a615.tar.bz2 upstream-1de0566a8b0e93bded2a5c2f666c064c4711a615.zip |
unvram: get rid of some memory leaks
SVN-Revision: 15430
Diffstat (limited to 'package/unvram/src/nvram.h')
-rw-r--r-- | package/unvram/src/nvram.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/unvram/src/nvram.h b/package/unvram/src/nvram.h index b718928c0e..e3d64613d4 100644 --- a/package/unvram/src/nvram.h +++ b/package/unvram/src/nvram.h @@ -90,7 +90,7 @@ uint8_t hndcrc8 (uint8_t * pdata, uint32_t nbytes, uint8_t crc); uint8_t nvram_calc_crc(nvram_header_t * nvh); /* Determine NVRAM device node. */ -const char * nvram_find_mtd(void); +char * nvram_find_mtd(void); /* Copy NVRAM contents to staging file. */ int nvram_to_staging(void); @@ -99,7 +99,7 @@ int nvram_to_staging(void); int staging_to_nvram(void); /* Check NVRAM staging file. */ -const char * nvram_find_staging(void); +char * nvram_find_staging(void); /* Staging file for NVRAM */ |