diff options
| author | dsl <dsl@NetBSD.org> | 2008-12-20 18:08:24 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2008-12-20 18:08:24 +0000 |
| commit | e06fc1c61ffe075afdcead5f7300485d00c26435 (patch) | |
| tree | 4d414091553f3ee60c0df6745c67d01169345082 /sys/dev/dm/dm_target_error.c | |
| parent | 0533dfcd70e1e612609aa89bc7c05bbc412c126e (diff) | |
A lot of code assumes that the pointer returned by Buf_GetAll() is malloced.
Replace Buf_Discard() with Buf_Empty() since the former might leave the
'outPtr != buffer' and the only caller wanted all the data discared.
Remove 'outPtr' now that it always equals 'buffer'.
The assumption about Buf_GetAll()is now guaranteed by design.
Diffstat (limited to 'sys/dev/dm/dm_target_error.c')
0 files changed, 0 insertions, 0 deletions
