Fix Coverity 1215468, the memory attached to the variable jsonconfig
could leak.