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

Changeset dd9af5d in mainline


Ignore:
Timestamp:
2011-07-27T11:03:53Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
4bf0052a
Parents:
e8b6b6a
Message:

Fix memory leak in case of error in the prune_ind_zones() function.

File:
1 edited

Legend:

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

    re8b6b6a rdd9af5d  
    277277
    278278                r = mfs_free_zone(inst, dbl_zone[i]);
    279                 on_error(r, return r);
     279                on_error(r, goto out);
    280280        }
    281281
     
    285285                ino_i->dirty = true;
    286286        }
     287out:
    287288        free(dbl_zone);
    288 
    289289        return r;
    290290}
Note: See TracChangeset for help on using the changeset viewer.