libgda r3114 - in branches/release-3-0-branch: . libgda
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: libgda r3114 - in branches/release-3-0-branch: . libgda
- Date: Sat, 5 Apr 2008 16:01:35 +0100 (BST)
Author: murrayc
Date: Sat Apr 5 16:01:34 2008
New Revision: 3114
URL: http://svn.gnome.org/viewvc/libgda?rev=3114&view=rev
Log:
2008-04-05 Murray Cumming <murrayc murrayc com>
* libgda/gda-column.c (gda_column_set_default_value):
Free default_value with gda_value_free() instead of g_free(), to fix
what valgrind says is a possible leak.
Modified:
branches/release-3-0-branch/ChangeLog
branches/release-3-0-branch/libgda/gda-column.c
Modified: branches/release-3-0-branch/libgda/gda-column.c
==============================================================================
--- branches/release-3-0-branch/libgda/gda-column.c (original)
+++ branches/release-3-0-branch/libgda/gda-column.c Sat Apr 5 16:01:34 2008
@@ -756,6 +756,6 @@
g_return_if_fail (default_value != NULL);
if (column->priv->default_value)
- g_free (column->priv->default_value);
+ gda_value_free (column->priv->default_value);
column->priv->default_value = gda_value_copy ( (GValue*)default_value);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]