Issue with free() for linked list implementation

Namespace via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 3 15:12:41 PDT 2015


> Wow, I can't even begin to explain how red my cheeks are right 
> now. You're completely right; I have no idea what my head was 
> thinking. Sure enough, call malloc with the correct type, and 
> the error goes away =P
>
> Thanks for the help =) I guess I've been in C# land at work for 
> way too long now, my low level C skills are evaporating!

Sometimes you wonder how simple such a problem can be. :D My 
pleasure.


More information about the Digitalmars-d-learn mailing list