changeset 6832:f03c0085c424

[gaim-migrate @ 7377] Removed the g_free wrapper from MSN. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 14 Sep 2003 03:26:27 +0000
parents a372cf34387e
children ccfbd7c552ba
files src/protocols/msn/msn.c src/protocols/msn/msn.h
diffstat 2 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun Sep 14 03:22:52 2003 +0000
+++ b/src/protocols/msn/msn.c	Sun Sep 14 03:26:27 2003 +0000
@@ -39,17 +39,6 @@
 
 static char *msn_normalize(const char *str);
 
-void
-msn_free(void *ptr, const char *filename, int line)
-{
-	gaim_debug_misc("msn", "Freeing pointer %p at %s:%d\n",
-					ptr, filename, line);
-	if (ptr == NULL)
-		abort();
-
-	real_g_free(ptr);
-}
-
 typedef struct
 {
 	GaimConnection *gc;
--- a/src/protocols/msn/msn.h	Sun Sep 14 03:22:52 2003 +0000
+++ b/src/protocols/msn/msn.h	Sun Sep 14 03:26:27 2003 +0000
@@ -50,10 +50,6 @@
 
 #define MSN_BUF_LEN 8192
 
-void msn_free(void *ptr, const char *filename, int line);
-
-#define g_free(x) msn_free((x), __FILE__, __LINE__)
-
 #define USEROPT_MSNSERVER 3
 #define MSN_SERVER "messenger.hotmail.com"
 #define USEROPT_MSNPORT 4