diff options
author | Jörg Mayer <jmayer@loplof.de> | 2002-08-01 03:15:29 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2002-08-01 03:15:29 +0000 |
commit | 9630bf353e2ca03bdce5d7ce00f184c898ba40cd (patch) | |
tree | 26e3986b7a2b9bf989d9f7089f0900839c860eb6 /prefs.h | |
parent | db0d014224979e30a62f08cbeb8ae602ae55326e (diff) | |
download | wireshark-9630bf353e2ca03bdce5d7ce00f184c898ba40cd.tar.gz wireshark-9630bf353e2ca03bdce5d7ce00f184c898ba40cd.tar.bz2 wireshark-9630bf353e2ca03bdce5d7ce00f184c898ba40cd.zip |
Fix a few more memleaks found by valgrind (all deriving
from the get_persconffile_path mess).
svn path=/trunk/; revision=5927
Diffstat (limited to 'prefs.h')
-rw-r--r-- | prefs.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* prefs.h * Definitions for preference handling routines * - * $Id: prefs.h,v 1.38 2002/05/11 18:58:02 guy Exp $ + * $Id: prefs.h,v 1.39 2002/08/01 03:15:25 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -202,13 +202,13 @@ extern void prefs_register_modules(void); the user's preferences file, stuff the errno into "*pf_errno_return" and a pointer to the path of the file into "*pf_path_return", and return NULL. */ -extern e_prefs *read_prefs(int *, char **, int *, const char **); +extern e_prefs *read_prefs(int *, char **, int *, char **); /* Write out "prefs" to the user's preferences file, and return 0. If we got an error, stuff a pointer to the path of the preferences file into "*pf_path_return", and return the errno. */ -extern int write_prefs(const char **); +extern int write_prefs(char **); /* Copy a set of preferences. */ extern void copy_prefs(e_prefs *dest, e_prefs *src); |