don't double-free
authorKen Raeburn <raeburn@mit.edu>
Sat, 31 Jan 2009 00:39:51 +0000 (00:39 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 31 Jan 2009 00:39:51 +0000 (00:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21845 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/dbutil/kdb5_mkey.c

index d2d517657b63956011e60c71a440617ad2e76348..74f05eb8ab28eaeb29fff6e39a72a9b6eb35faf6 100644 (file)
@@ -1014,7 +1014,6 @@ kdb5_update_princ_encryption(int argc, char *argv[])
         ) {
         /* XXX syslog msg or regerr(regerrno) */
         com_err(progname, 0, "error compiling converted regexp '%s'", regexp);
-        free(regexp);
         exit_status++;
         goto cleanup;
     }