Changes in / [54935cf6:00a8f1b] in mainline


Ignore:
Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmast/main.c

    r54935cf6 r00a8f1b  
    158158        }
    159159
     160        free(fun_name);
     161
    160162        /* Allocate soft state */
    161163        mfun = ddf_dev_data_alloc(mdev->ddf_dev, sizeof(usbmast_fun_t));
     
    168170        mfun->mdev = mdev;
    169171        mfun->lun = lun;
     172
     173        fun_name = NULL;
    170174
    171175        /* Set up a connection handler. */
     
    215219                goto error;
    216220        }
    217 
    218         free(fun_name);
    219221
    220222        return EOK;
  • uspace/lib/c/generic/ns.c

    r54935cf6 r00a8f1b  
    7575{
    7676        async_exch_t *exch = async_exchange_begin(session_ns);
    77         if (!exch)
    78                 return NULL;
    7977        async_sess_t *sess =
    8078            async_connect_me_to_blocking(mgmt, exch, service, arg2, arg3);
    8179        async_exchange_end(exch);
    82 
    83         if (!sess)
    84                 return NULL;
    8580       
    8681        /*
Note: See TracChangeset for help on using the changeset viewer.