[Kde-bindings] playground/bindings/phpqt/php_qt

Thomas Moenicke tm at php-qt.org
Sat Jun 23 20:51:50 UTC 2007


SVN commit 679391 by moenicke:

* reference counter has to be increased here

CCMAIL: kde-bindings at kde.org



 M  +1 -0      functions.cpp  


--- trunk/playground/bindings/phpqt/php_qt/functions.cpp #679390:679391
@@ -140,6 +140,7 @@
 	// see marshall_basetypes.h, marshall_to_php<SmokeClassWrapper>
  	zval_ptr_dtor(return_value_ptr);
  	*(return_value_ptr) = obj;
+    zval_add_ref(return_value_ptr);
     return;
 
 }



More information about the Kde-bindings mailing list