diff --git a/src/bitcoin.c b/src/bitcoin.c index ada453ff..4381270f 100644 --- a/src/bitcoin.c +++ b/src/bitcoin.c @@ -190,6 +190,7 @@ bool gen_gbtbase(connsock_t *cs, gbtbase_t *gbt) ret = true; out: + json_decref(val); return ret; }