[Issue 4092] broken memory management for COM objects derived from IUnknown
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 27 09:00:45 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4092
--- Comment #11 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-27 09:00:44 PDT ---
> (In reply to comment #9)
> https://github.com/D-Programming-Language/visuald/blob/master/stdext/com.d#L28
Hmm, you seem to have this prototype in that file:
extern(C) void* gc_malloc(size_t sz, uint ba = 0, const TypeInfo ti=null);
However there is no such function which takes these parameters in druntime (in
2.064 anyway), the function takes 2 parameters, not 3. I suspect this links
fine but would probably do something nasty like corrupt the stack.
I suspect you've prototyped it to avoid an import into core.memory?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list