Bugfix: No longer double-free in some error conditions
Bugfix: No longer double-free in some error conditions

bitcoin/libblkmaker,arnuschky/primecoin-libblkmaker,Geremia/libblkmaker,RibbitFROG/libblkmaker,bitcoin/libblkmaker,Geremia/libblkmaker,RibbitFROG/libblkmaker,arnuschky/primecoin-libblkmaker