Add missing va_end() to ag_db_select()

This commit is contained in:
Gergely Polonkai 2014-08-02 00:26:49 +02:00
parent c2241e622a
commit defdc75eb0
1 changed files with 3 additions and 0 deletions

View File

@ -246,6 +246,7 @@ ag_db_select(AgDb *db, GError **err, const gchar *sql, ...)
va_list ap;
va_start(ap, sql);
while (TRUE) {
gchar *key;
GdaHolder *holder;
@ -280,6 +281,8 @@ ag_db_select(AgDb *db, GError **err, const gchar *sql, ...)
);
}
}
va_end(ap);
}
ret = gda_connection_statement_execute_select(priv->conn, sth, params, err);