[libgda] GdaServerOperation: fix initialization
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaServerOperation: fix initialization
- Date: Sun, 21 Apr 2019 05:09:01 +0000 (UTC)
commit 9a7de77f2ba4ba5b6255ab599faf33dab951c520
Author: Daniel Espinosa <esodan gmail com>
Date: Sun Apr 21 00:07:52 2019 -0500
GdaServerOperation: fix initialization
Fix memory leaks
libgda/gda-server-operation.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/libgda/gda-server-operation.c b/libgda/gda-server-operation.c
index dd08ce653..14a012769 100644
--- a/libgda/gda-server-operation.c
+++ b/libgda/gda-server-operation.c
@@ -217,7 +217,6 @@ gda_server_operation_init (GdaServerOperation *operation)
g_return_if_fail (GDA_IS_SERVER_OPERATION (operation));
- priv = g_new0 (GdaServerOperationPrivate, 1);
priv->allnodes = NULL;
priv->info_hash = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
priv->doc_hash = NULL; /* key = file name, value = xmlDocPtr */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]