Changeset 0dfaa099 in mainline


Ignore:
Timestamp:
2011-01-31T22:43:46Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.