Age | Commit message (Collapse) | Author |
|
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.
With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().
malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.
--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
|
|
CVS patchset: 7807
CVS date: 2005/11/21 10:29:09
|
|
CVS patchset: 2543
CVS date: 2002/08/28 20:27:56
|
|
CVS patchset: 1628
CVS date: 2002/03/24 19:23:47
|
|
CVS patchset: 1627
CVS date: 2002/03/24 18:45:42
|
|
xmalloc_aligned cleanup - fb vo plugin needs to be fixed for this one
CVS patchset: 1626
CVS date: 2002/03/24 14:15:36
|
|
CVS patchset: 1061
CVS date: 2001/11/17 22:40:01
|
|
CVS patchset: 519
CVS date: 2001/08/29 17:56:21
|
|
(disabled by default, enable it in your .xinerc if you want it)
CVS patchset: 515
CVS date: 2001/08/29 00:51:57
|