diff options
author | Eric Leblond <eric@inl.fr> | 2008-11-30 16:49:54 +0100 |
---|---|---|
committer | Eric Leblond <eric@inl.fr> | 2008-12-09 01:19:25 +0100 |
commit | 1295f2228397f8d7566007d7e62f37e6169384d7 (patch) | |
tree | aaa86084d6148a3006ecaccb29ba08398ecc538a /src/conffile.c | |
parent | 7e02ae896e3b4f3109ea26069884695799793370 (diff) |
Introduce config_stop() function
This patch adds the config_stop function which is in charge of releasing
ressources allocated for configuration file parsing.
Diffstat (limited to 'src/conffile.c')
-rw-r--r-- | src/conffile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conffile.c b/src/conffile.c index 0c1a2a4..b27187e 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -222,3 +222,7 @@ cpf_error: return err; } +void config_stop() +{ + free(fname); +} |