replaced a ton of free or strdup calls for zap_safe_free and zap_strdup

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@864 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva
2009-11-16 14:52:02 +00:00
parent f3d2328564
commit 34307d8e52
16 changed files with 62 additions and 60 deletions

View File

@@ -90,7 +90,7 @@ dsp_uart_handle_t *dsp_uart_create(dsp_uart_attr_t *attr)
void dsp_uart_destroy(dsp_uart_handle_t **handle)
{
if (*handle) {
free(*handle);
zap_safe_free(*handle);
*handle = NULL;
}
}