Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset daf8ff2 in mainline


Ignore:
Timestamp:
2011-11-05T13:09:46Z (9 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
master
Children:
f346039
Parents:
45ffe9f
Message:

Fix memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    r45ffe9f rdaf8ff2  
    383383        fibril_mutex_unlock(&mtab_list_lock);
    384384
    385         free(mp);
    386 
    387385        /* Do the mount */
    388386        vfs_mount_internal(rid, service_id, fs_handle, mp, opts);
     387
     388        free(mp);
     389        free(fs_name);
     390        free(opts);
    389391
    390392        /* Acknowledge that we know fs_name. */
Note: See TracChangeset for help on using the changeset viewer.