Print this page
patch tsoome-feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/ipp/ippctl.c
          +++ new/usr/src/uts/common/ipp/ippctl.c
↓ open down ↓ 1235 lines elided ↑ open up ↑
1236 1236          FREE_TEXT(aname);
1237 1237  
1238 1238          ipp_rc = ipp_action_modify(aid, &nvlp, flags);
1239 1239  
1240 1240          /*
1241 1241           * Add an nvlist containing the kernel return code to the
1242 1242           * set of nvlists to pass back to libipp.
1243 1243           */
1244 1244  
1245 1245          if ((rc = ippctl_set_rc(ipp_rc)) != 0) {
1246      -                if (nvlp != NULL)
1247      -                        nvlist_free(nvlp);
     1246 +                nvlist_free(nvlp);
1248 1247                  return (rc);
1249 1248          }
1250 1249  
1251 1250          /*
1252 1251           * If the module passed back an nvlist, add this as
1253 1252           * well.
1254 1253           */
1255 1254  
1256 1255          if (nvlp != NULL) {
1257 1256                  rc = ippctl_callback(nvlp, NULL);
↓ open down ↓ 574 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX