summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/free/f_keyblock.c
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-03-26 13:31:15 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-03-26 13:31:15 +0000
commit940e8da090162b9fd879ead7654e5cdcf37c15c6 (patch)
treec5f71223bfee7f18e531ba6e14d24d090666351b /src/lib/krb5/free/f_keyblock.c
parenta8480ca801332ab8fa5ca999517a8a62807d6f62 (diff)
downloadkrb5-940e8da090162b9fd879ead7654e5cdcf37c15c6.tar.gz
krb5-940e8da090162b9fd879ead7654e5cdcf37c15c6.tar.xz
krb5-940e8da090162b9fd879ead7654e5cdcf37c15c6.zip
*** empty log message ***
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@410 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/free/f_keyblock.c')
-rw-r--r--src/lib/krb5/free/f_keyblock.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/krb5/free/f_keyblock.c b/src/lib/krb5/free/f_keyblock.c
new file mode 100644
index 000000000..61f88e0fc
--- /dev/null
+++ b/src/lib/krb5/free/f_keyblock.c
@@ -0,0 +1,29 @@
+/*
+ * $Source$
+ * $Author$
+ *
+ * Copyright 1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/mit-copyright.h>.
+ *
+ * krb5_free_keyblock()
+ */
+
+#if !defined(lint) && !defined(SABER)
+static char f_keyblock_c [] =
+"$Id$";
+#endif /* !lint & !SABER */
+
+#include <krb5/copyright.h>
+#include <krb5/krb5.h>
+
+void
+krb5_free_keyblock(val)
+register krb5_keyblock *val;
+{
+ if (val->contents)
+ xfree(val->contents);
+ xfree(val);
+ return;
+}