[asterisk-commits] dlee: branch dlee/stasis-http r380570 - /team/dlee/stasis-http/tests/test_json.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 30 14:56:48 CST 2013


Author: dlee
Date: Wed Jan 30 14:56:44 2013
New Revision: 380570

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380570
Log:
Removed unnecessary unrefs

Modified:
    team/dlee/stasis-http/tests/test_json.c

Modified: team/dlee/stasis-http/tests/test_json.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/tests/test_json.c?view=diff&rev=380570&r1=380569&r2=380570
==============================================================================
--- team/dlee/stasis-http/tests/test_json.c (original)
+++ team/dlee/stasis-http/tests/test_json.c Wed Jan 30 14:56:44 2013
@@ -395,8 +395,6 @@
 	ast_test_validate(test, 0 == uut_res);
 	ast_test_validate(test, LLONG_MIN == ast_json_integer_get(uut));
 
-	ast_json_unref(uut);
-
 	return AST_TEST_PASS;
 }
 
@@ -460,8 +458,6 @@
 	ast_test_validate(test, NULL != uut);
 	ast_test_validate(test, AST_JSON_ARRAY == ast_json_typeof(uut));
 	ast_test_validate(test, 0 == ast_json_array_size(uut));
-
-	ast_json_unref(uut);
 
 	return AST_TEST_PASS;
 }




More information about the asterisk-commits mailing list