1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Fix: double free()

This commit is contained in:
FaramosCZ
2018-05-24 07:25:45 +02:00
committed by GitHub
parent a12a0b8362
commit 9bed6bf5e9

View File

@@ -3612,7 +3612,6 @@ end:
create_new_string: create_new_string:
/* There is no columns from before, so let's just add the new ones */ /* There is no columns from before, so let's just add the new ones */
rc= ER_DYNCOL_OK; rc= ER_DYNCOL_OK;
free(alloc_plan);
if (not_null != 0) if (not_null != 0)
rc= dynamic_column_create_many_internal_fmt(str, add_column_count, rc= dynamic_column_create_many_internal_fmt(str, add_column_count,
(uint*)column_keys, values, (uint*)column_keys, values,