Fix a few memory leaks in tests
Fix a few memory leaks in tests

No changes to the actual library code.

attie/jansson,akheron/jansson-debian,AmesianX/jansson,bstarynk/jansson,liu3tao/jansson,AmesianX/jansson,yahoo/ygloo-external-jansson,firepick1/FireSight,attie/jansson,firepick1/jansson,firepick1/jansson,rogerz/jansson,wirebirdlabs/featherweight-jansson,chrullrich/jansson,gameclosure/jansson,simonfojtu/FireSight,firepick1/jansson,markalanj/jansson,gameclosure/jansson,rogerz/jansson,akheron/jansson-debian,firepick-delta/FireSight,firepick-delta/FireSight,yahoo/ygloo-external-jansson,markalanj/jansson,slackner/jansson,OlehKulykov/jansson,OlehKulykov/jansson,bstarynk/jansson,janetuk/jansson,gameclosure/jansson,janetuk/jansson,Mephistophiles/jansson,akheron/jansson-debian,markalanj/jansson,chrullrich/jansson,wirebirdlabs/featherweight-jansson,yahoo/ygloo-external-jansson,rogerz/jansson,firepick1/FireSight,liu3tao/jansson,Vorne/jansson,firepick1/FireSight,bstarynk/jansson,akheron/jansson,yahoo/ygloo-external-jansson,slackner/jansson,npmccallum/jansson,akheron/jansson,rogerz/jansson,janetuk/jansson,Vorne/jansson,simonfojtu/FireSight,simonfojtu/FireSight,npmccallum/jansson,akheron/jansson,akheron/jansson-debian,Mephistophiles/jansson,janetuk/jansson,firepick-delta/FireSight