Commit 93dde299 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

don't free(NULL)

parent d42dcd60
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ int ares_init_options(ares_channel *channelptr, struct ares_options *options,
	}
      if (channel->nsort != -1)
	free(channel->sortlist);
      if(channel->lookups)
        free(channel->lookups);
      free(channel);
      return status;