replace all malloc calls to zap_malloc

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@862 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva
2009-11-15 02:14:50 +00:00
parent c3a1f65be9
commit a2b4369cc2
16 changed files with 39 additions and 38 deletions

View File

@@ -32,6 +32,7 @@
* 2005 06 11 R. Krten created
*/
#include <openzap.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -76,7 +77,7 @@ dsp_uart_handle_t *dsp_uart_create(dsp_uart_attr_t *attr)
{
dsp_uart_handle_t *handle;
handle = malloc(sizeof (*handle));
handle = zap_malloc(sizeof (*handle));
if (handle) {
memset(handle, 0, sizeof (*handle));