Contents

operator delete

Frees the memory of the object itself.

Declaration

static void operator delete(
 void *mem,
 size_tsize);

Parameters

  • mem:

    A pointer to the object's memory.

  • size:

    The size of the object's block of memory.

Overview

Never use delete on objects derived from OSObject; use release instead.

See Also

Miscellaneous