Avoid trying to deref NULL, from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22144 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -35,7 +35,7 @@ gss_release_oid_set(OM_uint32 *minor_status,
|
|||||||
{
|
{
|
||||||
|
|
||||||
*minor_status = 0;
|
*minor_status = 0;
|
||||||
if (*set) {
|
if (set && *set) {
|
||||||
if ((*set)->elements)
|
if ((*set)->elements)
|
||||||
free((*set)->elements);
|
free((*set)->elements);
|
||||||
free(*set);
|
free(*set);
|
||||||
|
Reference in New Issue
Block a user