mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-02 12:27:09 +08:00
Fixed memory leak in _SQLFreeEnv
Memory allocated for the _henv structure was not being freed which caused a small memory leak.
This commit is contained in:
@@ -1300,6 +1300,7 @@ static SQLRETURN SQL_API _SQLFreeEnv(
|
||||
return SQL_ERROR;
|
||||
}
|
||||
g_ptr_array_free(env->connections, TRUE);
|
||||
g_free(env);
|
||||
|
||||
return SQL_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user