[libgda] gda-sql-parser: fix dispose private initialization



commit 51dc221af9bae8b1c8a74949bbee44d3385cc112
Author: Daniel Espinosa <esodan gmail com>
Date:   Mon Sep 10 19:09:29 2018 -0500

    gda-sql-parser: fix dispose private initialization

 libgda/sql-parser/gda-sql-parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgda/sql-parser/gda-sql-parser.c b/libgda/sql-parser/gda-sql-parser.c
index 3a500f099..af9f8446c 100644
--- a/libgda/sql-parser/gda-sql-parser.c
+++ b/libgda/sql-parser/gda-sql-parser.c
@@ -290,9 +290,9 @@ gda_sql_parser_dispose (GObject *object)
 
        g_return_if_fail (object != NULL);
        g_return_if_fail (GDA_IS_SQL_PARSER (object));
-       GdaSqlParserPrivate *priv = gda_sql_parser_get_instance_private (parser);
 
        parser = GDA_SQL_PARSER (object);
+       GdaSqlParserPrivate *priv = gda_sql_parser_get_instance_private (parser);
 
        /* parent class */
        parent_class->dispose (object);


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