Browse Source

fix minor memleak

blackjok3r
blackjok3r 6 years ago
parent
commit
9d30aff316
  1. 2
      iguana/dpow/dpow_rpc.c

2
iguana/dpow/dpow_rpc.c

@ -52,7 +52,7 @@ char *bitcoind_getinfo(char *symbol,char *serverport,char *userpass,char *getinf
retstr = bitcoind_passthru(symbol,serverport,userpass,getinfostr,buf);
printf("switch to getblockchaininfo -> (%s)\n",retstr);
}
free(retjson);
free_json(retjson);
}
return(retstr);
}

Loading…
Cancel
Save