Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28602
Modified Files: Tag: desiredata m_pd.h s_inter.c Log Message: no freebytes
Index: s_inter.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v retrieving revision 1.5.4.10.2.25.2.12 retrieving revision 1.5.4.10.2.25.2.13 diff -C2 -d -r1.5.4.10.2.25.2.12 -r1.5.4.10.2.25.2.13 *** s_inter.c 20 Dec 2006 04:02:40 -0000 1.5.4.10.2.25.2.12 --- s_inter.c 9 Jan 2007 18:14:28 -0000 1.5.4.10.2.25.2.13 *************** *** 412,420 **** }
! void socketreceiver_free(t_socketreceiver *x) ! { ! free(x->inbuf); ! freebytes(x, sizeof(*x)); ! }
/* this is in a separately called subroutine so that the buffer isn't --- 412,416 ---- }
! void socketreceiver_free(t_socketreceiver *x) {free(x->inbuf); free(x);}
/* this is in a separately called subroutine so that the buffer isn't
Index: m_pd.h =================================================================== RCS file: /cvsroot/pure-data/pd/src/m_pd.h,v retrieving revision 1.4.4.11.2.33.2.38 retrieving revision 1.4.4.11.2.33.2.39 diff -C2 -d -r1.4.4.11.2.33.2.38 -r1.4.4.11.2.33.2.39 *** m_pd.h 5 Jan 2007 00:02:58 -0000 1.4.4.11.2.33.2.38 --- m_pd.h 9 Jan 2007 18:14:28 -0000 1.4.4.11.2.33.2.39 *************** *** 303,310 ****
/* --------------- memory management -------------------- */ ! EXTERN void *getbytes(size_t nbytes); EXTERN void *copybytes(void *src, size_t nbytes); ! EXTERN void freebytes(void *x, size_t nbytes); ! EXTERN void *resizebytes(void *x, size_t oldsize, size_t newsize);
/* T.Grill - functions for aligned memory (according to CPU SIMD architecture) */ --- 303,310 ----
/* --------------- memory management -------------------- */ ! EXTERN void *getbytes(size_t nbytes); /* deprecated, use malloc() */ EXTERN void *copybytes(void *src, size_t nbytes); ! EXTERN void freebytes(void *x, size_t nbytes); /* deprecated, use free() */ ! EXTERN void *resizebytes(void *x, size_t oldsize, size_t newsize); /* deprecated, use realloc() */
/* T.Grill - functions for aligned memory (according to CPU SIMD architecture) */