diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-01 22:21:48 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-03-01 22:21:48 +0100 |
commit | cdf3606b384b434fbadae0751f9b4024de8bf177 (patch) | |
tree | 0e8b00627b785e9155da83acb3227b32ecb36b33 /storage/connect/plugutil.c | |
parent | 612b8c550024ce27356e4c50c1836a2311bbda84 (diff) | |
download | mariadb-git-cdf3606b384b434fbadae0751f9b4024de8bf177.tar.gz |
- Begin fixing memory leaks
modified:
storage/connect/connect.cc
storage/connect/plugutil.c
Diffstat (limited to 'storage/connect/plugutil.c')
-rw-r--r-- | storage/connect/plugutil.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/connect/plugutil.c b/storage/connect/plugutil.c index 4415dea1f56..2455e73b1d2 100644 --- a/storage/connect/plugutil.c +++ b/storage/connect/plugutil.c @@ -173,13 +173,10 @@ PGLOBAL PlugInit(LPCSTR Language, uint worksize) /***********************************************************************/ int PlugExit(PGLOBAL g) { - int rc = 0; - PACTIVITY ap; + int rc = 0; if (!g) return rc; - else - ap = g->ActivityStart; free(g->Sarea); free(g); |