avoid double free, coverity #153
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24091 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -193,7 +193,6 @@ check(void *opt, int argc, char **argv)
|
||||
p2 = strdup(realm);
|
||||
if (p2 == NULL) {
|
||||
krb5_warn(context, errno, "malloc");
|
||||
free(p);
|
||||
goto fail;
|
||||
}
|
||||
strlwr(p2);
|
||||
|
Reference in New Issue
Block a user