Commit 1c788ead authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

server: Fix memory leak in read_process_memory handler.

parent 23b74754
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment