--- src/backend/utils/mb/mbutils.c.orig	Thu Jan 10 00:02:20 2008
+++ src/backend/utils/mb/mbutils.c	Thu Jan 10 00:02:27 2008
@@ -336,9 +336,6 @@
 	result = DirectFunctionCall3(
 				  pg_convert, string, src_encoding_name, dest_encoding_name);
 
-	/* free memory allocated by namein */
-	pfree((void *) src_encoding_name);
-
 	/*
 	 * pg_convert returns a bytea, which we in turn return as text, relying on
 	 * the fact that they are both in fact varlena types, and thus
