windowvec~/Source/windowvec~common.c
void windowvec_free(t_windowvec *x)
{
#ifdef TARGET_IS_MAX
    /* Remove the object from the DSP chain */
    dsp_free((t_pxobject *)x);
#endif

    /* Free allocated dynamic memory */
    if (x->window != NULL) {
        free(x->window);
    }

    /* Print message to Max window */
    post("windowvec~ • Memory was freed");
}
/* The 'free instance' routine ************************************************/
The 'free instance' routine
The ' free instance ' routine
void windowvec_free(t_windowvec *x)
{
#ifdef TARGET_IS_MAX
    dsp_free((t_pxobject *)x);
#endif
    if (x->window != NULL) {
        free(x->window);
    }
    post("windowvec~ • Memory was freed");
}
void windowvec_free ( t_windowvec * x ) { #ifdef TARGET_IS_MAX dsp_free ( ( t_pxobject * ) x ) ; #endif if ( x -> window != NULL ) { free ( x -> window ) ; } post ( " ; }
The 'free instance' routine
The ' free instance ' routine
/* Remove the object from the DSP chain */ /* Free allocated dynamic memory */ /* Print message to Max window */