Replacing malloc/memset with calloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

There are several places (at least in sdp.c) where `malloc` and
memset(,0,) pattern Is used. All these can be replaced with calloc for
efficiency.

Is there any specific reason why malloc/memset is preferred?

-Best,
Aravind



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux