Changeset 9cd199c in mainline


Ignore:
Timestamp:
2011-04-02T08:09:31Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10eb754
Parents:
2cada66
Message:

Fix memory leak in mfs_match()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_ops.c

    r2cada66 r9cd199c  
    269269                if (!d_info->d_inum) {
    270270                        /*This entry is not used*/
     271                        free(d_info);
    271272                        continue;
    272273                }
     
    277278                        mfs_node_core_get(rfn, mnode->instance,
    278279                                d_info->d_inum);
     280                        free(d_info);
    279281                        goto found;
    280282                }
     283                free(d_info);
    281284        }
    282285        *rfn = NULL;
Note: See TracChangeset for help on using the changeset viewer.