Small patch for bonobo-ui-component



Hello,

here's a small patch for
bonobo-ui-component
which changes a g_free
to a CORBA_free. Is it
ok to commit?

//andersca
andersca gnu org
? doc/api/bonobo-undocumented.txt
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.1079
diff -u -r1.1079 ChangeLog
--- ChangeLog	2001/06/27 11:41:24	1.1079
+++ ChangeLog	2001/06/29 16:40:42
@@ -1,3 +1,8 @@
+2001-06-29  Anders Carlsson  <andersca codefactory se>
+
+	* bonobo/bonobo-ui-component.c (impl_get_prop): Use CORBA_free
+	since bonobo_ui_component_get returns a CORBA_char.
+
 2001-06-27  Michael Meeks  <michael ximian com>
 
 	* Version 1.0.6
Index: bonobo/bonobo-ui-component.c
===================================================================
RCS file: /cvs/gnome/bonobo/bonobo/bonobo-ui-component.c,v
retrieving revision 1.45
diff -u -r1.45 bonobo-ui-component.c
--- bonobo/bonobo-ui-component.c	2001/06/26 17:35:07	1.45
+++ bonobo/bonobo-ui-component.c	2001/06/29 16:40:42
@@ -1198,7 +1198,7 @@
 
 	if (ans) {
 		ret = g_strdup (ans);
-		bonobo_ui_node_free_string (ans);
+		CORBA_free (ans);
 	} else
 		ret = NULL;
 


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