<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,6 +35,7 @@ static VALUE utf8_upcase(VALUE self, VALUE string)
   Check_Type(string, T_STRING);
   temp = g_utf8_strup(StringValuePtr(string), RSTRING(string)-&gt;len);
   result = rb_str_new2(temp);
+  free(temp);
 
   return result;
 }
@@ -55,6 +56,7 @@ static VALUE utf8_downcase(VALUE self, VALUE string)
   Check_Type(string, T_STRING);
   temp = g_utf8_strdown(StringValuePtr(string), RSTRING(string)-&gt;len);
   result = rb_str_new2(temp);
+  free(temp);
 
   return result;
 }
@@ -75,6 +77,7 @@ static VALUE utf8_reverse(VALUE self, VALUE string)
   Check_Type(string, T_STRING);
   temp = g_utf8_strreverse(StringValuePtr(string), RSTRING(string)-&gt;len);
   result = rb_str_new2(temp);
+  free(temp);
 
   return result;
 }
@@ -116,6 +119,7 @@ static VALUE utf8_normalize(VALUE self, VALUE string, VALUE form)
 
   temp = g_utf8_normalize(StringValuePtr(string), RSTRING(string)-&gt;len, mode);
   result = rb_str_new2(temp);
+  free(temp);
 
   return result;
 }</diff>
      <filename>ext/glib/glib.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>33e91d4d4ed398d24e95ae73dd36d58ba0e06f6b</id>
    </parent>
  </parents>
  <author>
    <name>Manfred Stienstra</name>
    <email>manfred@fngtps.com</email>
  </author>
  <url>http://github.com/Manfred/unichars/commit/e23b46143a6bd062fb159cd3c812be4a9f37fdd2</url>
  <id>e23b46143a6bd062fb159cd3c812be4a9f37fdd2</id>
  <committed-date>2008-12-30T12:53:06-08:00</committed-date>
  <authored-date>2008-12-30T12:53:06-08:00</authored-date>
  <message>Free strings returned from Glib so we don't leak memory.</message>
  <tree>fb3d611448d8f511646bc1c0280d4d77d99cf0a4</tree>
  <committer>
    <name>Manfred Stienstra</name>
    <email>manfred@fngtps.com</email>
  </committer>
</commit>
