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:
Love Hörnquist Åstrand
2007-12-04 17:31:55 +00:00
parent 3eb85d7caf
commit 292c545215

View File

@@ -35,7 +35,7 @@ gss_release_oid_set(OM_uint32 *minor_status,
{
*minor_status = 0;
if (*set) {
if (set && *set) {
if ((*set)->elements)
free((*set)->elements);
free(*set);