help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Strategy to finding memleaks


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Strategy to finding memleaks
Date: Sun, 10 Apr 2011 00:28:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.9

On 04/10/2011 12:09 AM, Holger Hans Peter Freyther wrote:

Hi,
I think this is what we want to do. There are some C APIs that rely on the
string being passed and owned by them and we would need a new keyword for
these? gst-browser is still starting up after this change.


diff --git a/libgst/cint.c b/libgst/cint.c
index 061a829..9e0363a 100644
--- a/libgst/cint.c
+++ b/libgst/cint.c
@@ -823,6 +823,10 @@ _gst_invoke_croutine (OOP cFuncOOP,
         case CDATA_WSTRING_OUT:
         case CDATA_STRING_OUT:
         case CDATA_BYTEARRAY_OUT:
+        case CDATA_STRING:
+        case CDATA_BYTEARRAY:
+        case CDATA_SYMBOL:
+        case CDATA_WSTRING:
          needPostprocessing = true;
          /* fall through */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]