diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-03-02 14:27:34 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-03-02 14:27:34 +0000 |
commit | 2c1945b7819918969309cda84b6738f2dece9c44 (patch) | |
tree | ce5ccdff3b24d89e1c94219053587d6a1b5df0ac /USER | |
parent | 1eda527172ed5bb1ab6cf7b45c7e9733b95272a9 (diff) | |
download | userdrake-2c1945b7819918969309cda84b6738f2dece9c44.tar userdrake-2c1945b7819918969309cda84b6738f2dece9c44.tar.gz userdrake-2c1945b7819918969309cda84b6738f2dece9c44.tar.bz2 userdrake-2c1945b7819918969309cda84b6738f2dece9c44.tar.xz userdrake-2c1945b7819918969309cda84b6738f2dece9c44.zip |
- fix mem leak due to extra safefree((char*)self);
Diffstat (limited to 'USER')
-rw-r--r-- | USER/USER.xs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/USER/USER.xs b/USER/USER.xs index 6c34b65..bf10b64 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -469,8 +469,7 @@ void Admin_DESTROY(self) USER::ADMIN *self CODE: - if (self) lu_end(self) ; - safefree((char*)self); + if (self) lu_end(self); int Admin_UserAdd(self, ent, is_system, dont_create_home) |