Print this page
10125 smatch fixes for cmd-inet
@@ -20,11 +20,11 @@
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2017 Nexenta Systems, Inc.
- * Copyright 2017 Joyent, Inc.
+ * Copyright (c) 2018, Joyent, Inc.
* Copyright 2017 Gary Mills
* Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
*/
#include <arpa/inet.h>
@@ -1634,11 +1634,10 @@
if (status != IPADM_SUCCESS)
return (ret);
if (if_info->ifi_cflags & IFIF_L3PROTECT)
ret = _B_TRUE;
- if (if_info)
ipadm_free_if_info(if_info);
return (ret);
}
static boolean_t