[TAG] Talkback:129/appaiah.html
Kumar Appaiah
akumar at ee.iitm.ac.in
Sat Aug 12 21:30:49 MSD 2006
On Sat, Aug 12, 2006 at 11:45:01AM -0400, Harring Figueiredo wrote:
> Ont the init function:
> oid init(void)
> {
> if (buffer_left != NULL) {
> buffer_left = g_malloc0(sizeof(gfloat) * BUFFER_LENGTH);
> }
> if (buffer_right != NULL) {
> buffer_right = g_malloc0(sizeof(gfloat) *
> BUFFER_LENGTH);
> }
> }
> Shouldn't the tests be if(buffer_... == NULL)? . Probably a typo.
You are absolutely right! However, in the exampleecho.c, I have it
right. Sorry for the mistake!
Kumar
--
Kumar Appaiah
462, Jamuna Hostel,
Indian Institute of Technology Madras
Chennai - 600036
More information about the TAG
mailing list