X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c551d959447b3aea01cc35f45aa4cacff2173ba..f97d84a63b21fffcc830390e5bc3fe0eedb6e15b:/src/mac/ldef/extldef.h diff --git a/src/mac/ldef/extldef.h b/src/mac/ldef/extldef.h index 683219907d..8daa77eb88 100644 --- a/src/mac/ldef/extldef.h +++ b/src/mac/ldef/extldef.h @@ -53,7 +53,9 @@ static void DisposeExtLDEFInfo( ListHandle lh) ExtLDEFInfo* info = (ExtLDEFInfo* ) (**lh).refCon ; if ( info ) { + #if !TARGET_CARBON DisposeRoutineDescriptor( (RoutineDescriptor*) info->drawProc ) ; + #endif free( (void*) (**lh).refCon ) ; } }