aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-03-02 14:27:34 +0000
committerDaouda Lo <daouda@mandriva.com>2005-03-02 14:27:34 +0000
commit2c1945b7819918969309cda84b6738f2dece9c44 (patch)
treece5ccdff3b24d89e1c94219053587d6a1b5df0ac /USER
parent1eda527172ed5bb1ab6cf7b45c7e9733b95272a9 (diff)
downloaduserdrake-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.xs3
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)