Print this page
10136 smatch fix for policykit

@@ -19,10 +19,13 @@
  * 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,10 +200,10 @@
                 printf ("is_allowed %d\n", is_allowed);
         }
 
 out:
         if (ctx != NULL)
-                libpolkit_free_context (ctx);
+                (void) libpolkit_free_context (ctx);
 
         return rc;
 }