server: Fix memory leak in read_process_memory handler.

This commit is contained in:
Ken Thomases 2006-03-24 01:26:51 -06:00 committed by Alexandre Julliard
parent 23b74754fe
commit 1c788eada2
1 changed files with 1 additions and 1 deletions

View File

@ -1068,7 +1068,7 @@ DECL_HANDLER(read_process_memory)
if (start_offset) memmove( buffer, (char *)buffer + start_offset, len );
set_reply_data_ptr( buffer, len );
}
else len = 0;
else free( buffer );
}
}
release_object( process );