com gtk/php-gtk: Small Oops.: ext/scintilla/scintilla.overrides

[email protected] (David Soria Parra)
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    928d13e4844857d5d0af44b7e889857add862fd7
Author:    Anant Narayanan <[email protected]>         Wed, 7 Jun 2006 10:21:05 +0000
Parents:   17f0448a251241a8317ed9e9b0d7c217cae878ba
Branches:  master

Link:       http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=928d13e4844857d5d0af44b7e889857add862fd7

Log:
Small Oops.

Changed paths:
  M  ext/scintilla/scintilla.overrides


Diff:
928d13e4844857d5d0af44b7e889857add862fd7
diff --git a/ext/scintilla/scintilla.overrides b/ext/scintilla/scintilla.overrides
index 3d9a29f..e3d0840 100644
--- a/ext/scintilla/scintilla.overrides
+++ b/ext/scintilla/scintilla.overrides
@@ -48,7 +48,7 @@ PHP_METHOD
     zend_bool free_utf8 = FALSE;
     zend_bool free_text = FALSE;
 
-    gsize *len = 0;
+    gsize len = 0;
 
     NOT_STATIC_METHOD();
 
@@ -62,6 +62,6 @@ PHP_METHOD
         g_free(text);
     }
 
-    if (free_utf8)
-        g_free(text);
+    if (free_utf8) 
+        g_free(utf8);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.