use ccs_callback_release() to free ccs_callback_t
authorAlexandra Ellwood <lxs@mit.edu>
Tue, 18 Sep 2007 19:57:28 +0000 (19:57 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Tue, 18 Sep 2007 19:57:28 +0000 (19:57 +0000)
ticket: 4644
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19953 dc483132-0cff-0310-8789-dd5450dbe970

src/ccapi/server/ccs_lock.c

index 1fc54db789dccbbce4beb20b723e1ea8abe89cb2..639bd17325fc23c9b9b65e59fd7e71cda6b33cd2 100644 (file)
@@ -99,7 +99,7 @@ cc_int32 ccs_lock_release (ccs_lock_t io_lock)
     cc_int32 err = ccNoError;
     
     if (!err && io_lock) {
-       free (io_lock->callback);
+       ccs_callback_release (io_lock->callback);
         free (io_lock);
     }