--- mysql-connector-odbc-5.3.4-src/util/odbcinstw.c.orig 2015-06-09 17:27:47.885638895 +0200
+++ mysql-connector-odbc-5.3.4-src/util/odbcinstw.c 2015-06-09 17:33:36.815128361 +0200
@@ -105,7 +105,7 @@ MySQLGetPrivateProfileStringW(const MyOD
x_free(section);
x_free(entry);
x_free(def);
- x_free(ret);
+ if (ret) free(ret);
x_free(filename);
return rc;