glib/tsrc/BC/src/misc_test.c
branchRCL_3
changeset 57 2efc27d87e1c
parent 56 acd3cd4aaceb
--- a/glib/tsrc/BC/src/misc_test.c	Tue Aug 31 16:54:36 2010 +0300
+++ b/glib/tsrc/BC/src/misc_test.c	Wed Sep 01 12:36:54 2010 +0100
@@ -29,7 +29,7 @@
 #include <string.h>
 #include "glib.h"
 #include <stdlib.h>
-#include <glib/gprintf.h>
+
 
 #ifdef SYMBIAN
 #include "mrt2_glib2_test.h"
@@ -204,11 +204,11 @@
 	err.message = "test";
 	err_copy = g_error_copy(&err);
 	g_assert(err_copy->code == 5 && err_copy->code == 5 && !strcmp(err_copy->message,"test"));
-	g_error_free(err_copy);
+	g_free(err_copy);
 	err_copy = NULL;
 	err_copy = g_error_new_literal(err.domain,err.code,"test is %s");
 	g_assert(err_copy->code == 5 && err_copy->code == 5 && !strcmp(err_copy->message,"test is %s"));
-	g_error_free(err_copy);
+	g_free(err_copy);
 	err_copy = NULL;
 }
 
@@ -318,4 +318,4 @@
   	#endif /* EMULATOR */
 	
 	return 0;
-}
+}
\ No newline at end of file