aboutsummaryrefslogtreecommitdiffstats
path: root/USER
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-04-28 12:49:20 +0000
committerDaouda Lo <daouda@mandriva.com>2003-04-28 12:49:20 +0000
commita40f88513eafd06bdbcca0629f64f437e93c0703 (patch)
tree6fa5f3aafab32c36b31e9dcb09049da33ca44989 /USER
parent17ff601ca1f5c4bb874b7d2eed0cf8cf1c83b522 (diff)
downloaduserdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar
userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar.gz
userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar.bz2
userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar.xz
userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.zip
- sanity check
Diffstat (limited to 'USER')
-rw-r--r--USER/USER.xs5
1 files changed, 4 insertions, 1 deletions
diff --git a/USER/USER.xs b/USER/USER.xs
index 2299131..6c2efff 100644
--- a/USER/USER.xs
+++ b/USER/USER.xs
@@ -91,7 +91,10 @@ void
Admin_DESTROY(self)
USER::ADMIN *self
CODE:
- lu_end(self);
+ if (self != NULL) {
+ lu_end(self);
+ self = NULL;
+ };
lu_ctx_free(self);
void