Add missing va_end() to ag_db_select()
This commit is contained in:
parent
c2241e622a
commit
defdc75eb0
@ -246,6 +246,7 @@ ag_db_select(AgDb *db, GError **err, const gchar *sql, ...)
|
|||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
va_start(ap, sql);
|
va_start(ap, sql);
|
||||||
|
|
||||||
while (TRUE) {
|
while (TRUE) {
|
||||||
gchar *key;
|
gchar *key;
|
||||||
GdaHolder *holder;
|
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);
|
ret = gda_connection_statement_execute_select(priv->conn, sth, params, err);
|
||||||
|
Loading…
Reference in New Issue
Block a user