Hi folks,

I'm working on an import of a giant pile of code, and ran into the
following build error:

drm_gem.c:987:23: error: macro "free" requires 2 arguments, but only 1 given
   obj->funcs->free(obj);
                       ^

This was confusing for a bit, but apparently is due to sys/malloc.h:

#define free(addr, type)                kern_free(addr)

This feels like a recipe for subtle bugs.
What's our plan for this code?

Reply via email to