Changeset c21ff31 in mainline


Ignore:
Timestamp:
2011-10-01T21:04:37Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8fa6d4c7
Parents:
655cc56
Message:

Fix a possible double free().

File:
1 edited

Legend:

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

    r655cc56 rc21ff31  
    159159
    160160        free(fun_name);
     161        fun_name = NULL;
    161162
    162163        /* Allocate soft state */
     
    170171        mfun->mdev = mdev;
    171172        mfun->lun = lun;
    172 
    173         fun_name = NULL;
    174173
    175174        /* Set up a connection handler. */
Note: See TracChangeset for help on using the changeset viewer.