summaryrefslogtreecommitdiffstats
path: root/eurephiadm/client_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'eurephiadm/client_config.c')
-rw-r--r--eurephiadm/client_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eurephiadm/client_config.c b/eurephiadm/client_config.c
index 8b24cf2..1629d82 100644
--- a/eurephiadm/client_config.c
+++ b/eurephiadm/client_config.c
@@ -121,7 +121,7 @@ eurephiaVALUES *parse_config_line(const char *line) {
key = cp;
val = strpbrk(cp, "=");
if( val == NULL ) {
- free_nullsafe(cp);
+ free_nullsafe(NULL, cp);
return NULL;
}
*val = '\0'; val++;
@@ -159,7 +159,7 @@ eurephiaVALUES *parse_config_line(const char *line) {
ret->key = strdup(key);
ret->val = strdup(val);
- free_nullsafe(cp);
+ free_nullsafe(NULL, cp);
return ret;
}
@@ -205,7 +205,7 @@ eurephiaVALUES *ReadConfig(const char *env, const char *cfgname) {
eAdd_valuestruct(NULL, cfg, prm);
}
};
- free_nullsafe(buf);
+ free_nullsafe(NULL, buf);
fclose(fp); fp = NULL;
return cfg;