plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24242 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -319,8 +319,8 @@ ret_string_xdr(krb5_storage *sp, char **str)
|
||||
INSIST(*str != NULL);
|
||||
memcpy(*str, c.data, c.length);
|
||||
(*str)[c.length] = '\0';
|
||||
krb5_data_free(&c);
|
||||
}
|
||||
krb5_data_free(&c);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user