1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-14 16:58:05 +00:00

Set lp_path to NULL after free for consistency.

This commit is contained in:
Con Kolivas 2012-04-20 21:09:37 +10:00
parent 9b2e62d339
commit 9609dbc42d

1
util.c
View File

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