Browse Source

Set lp_path to NULL after free for consistency.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
9609dbc42d
  1. 1
      util.c

1
util.c

@ -374,6 +374,7 @@ json_t *json_rpc_call(CURL *curl, const char *url, @@ -374,6 +374,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
}
} else if (hi.lp_path) {
free(hi.lp_path);
hi.lp_path = NULL;
}
*rolltime = hi.has_rolltime;

Loading…
Cancel
Save