Branch: Tag:

2015-07-01

2015-07-01 22:26:35 by Martin Karlgren <marty@roxen.com>

free -> free_string in pike_mysql_set_options.

Fixes incorrect free that would occur when "mysql_charset_name" is
provided in the options mapping.

408:   #endif       if (PIKE_MYSQL->conn_charset) -  free (PIKE_MYSQL->conn_charset); +  free_string (PIKE_MYSQL->conn_charset);    copy_shared_string (PIKE_MYSQL->conn_charset, val->u.string);    }   }