diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-04-28 12:49:20 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-04-28 12:49:20 +0000 |
commit | a40f88513eafd06bdbcca0629f64f437e93c0703 (patch) | |
tree | 6fa5f3aafab32c36b31e9dcb09049da33ca44989 /USER/USER.xs | |
parent | 17ff601ca1f5c4bb874b7d2eed0cf8cf1c83b522 (diff) | |
download | userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar.gz userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar.bz2 userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.tar.xz userdrake-a40f88513eafd06bdbcca0629f64f437e93c0703.zip |
- sanity check
Diffstat (limited to 'USER/USER.xs')
-rw-r--r-- | USER/USER.xs | 5 |
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 |