[Mono-devel-list] marshal.c patch

Bernie Solomon bernard at ugsolutions.com
Mon Sep 22 12:51:10 EDT 2003

I posted this patch some time ago but I think it got lost... I'd like to
commit this unless there are objections.

There are three small fixes here:

- alignment issues for 8 byte values in mono_marshal_type_size (this may
still be incorrect if some platform wanted to align 4 byte values on 2 byte
boundaries in structs).
- a 64 bit problem in MONO_MARSHAL_CONV_BOOL_I4.
- a memory leak if mono_lookup_pinvoke_call throws an exception (it doesn't
as yet but should eventually for Dll or EntryPoint not found).

Bernie Solomon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: marshall.diff.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030922/357dcead/attachment.txt 

More information about the Mono-devel-list mailing list