Print this page
10136 smatch fix for policykit

*** 19,28 **** --- 19,31 ---- * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * **************************************************************************/ + /* + * Copyright (c) 2018, Joyent, Inc. + */ #ifdef HAVE_CONFIG_H # include <config.h> #endif
*** 197,206 **** printf ("is_allowed %d\n", is_allowed); } out: if (ctx != NULL) ! libpolkit_free_context (ctx); return rc; } --- 200,209 ---- printf ("is_allowed %d\n", is_allowed); } out: if (ctx != NULL) ! (void) libpolkit_free_context (ctx); return rc; }