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

Changeset 0dfaa099 in mainline for uspace/lib/block/libblock.c


Ignore:
Timestamp:
2011-01-31T22:43:46Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial
Children:
0f1cf7a
Parents:
b9e6205
Message:

Clear the block pointer so that the cleanup code does not get confused.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/libblock.c

    rb9e6205 r0dfaa099  
    438438                        if (!b->data) {
    439439                                free(b);
     440                                b = NULL;
    440441                                goto recycle;
    441442                        }
Note: See TracChangeset for help on using the changeset viewer.