[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    arts/mcopidl
From:       Marc Espie <espie () nerim ! net>
Date:       2005-04-13 9:53:29
Message-ID: 20050413095329.55DBD492 () office ! kde ! org
[Download RAW message or body]

CVS commit by espie: 

don't free storage until it's actually been copied.


  M +1 -1      mcopidl.cc   1.92


--- arts/mcopidl/mcopidl.cc  #1.91:1.92
@@ -123,5 +123,4 @@ void startInclude( const char *line )
                 if(b) file = b;
         }
-        free(l);
 
         idl_in_include++;
@@ -129,4 +128,5 @@ void startInclude( const char *line )
         idl_line_no = 0;
         idl_filename =  file;
+        free(l);
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic