Changeset 3063:955233719a84 in roaraudio for libroar/vio_stack.c


Ignore:
Timestamp:
12/26/09 20:36:31 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use memory functions from libroar, not libc, fixed a small memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_stack.c

    r1505 r3063  
    4141  return -1; 
    4242 
    43  if ( (self = malloc(sizeof(struct roar_vio_stack))) == NULL ) 
     43 if ( (self = roar_mm_malloc(sizeof(struct roar_vio_stack))) == NULL ) 
    4444  return -1; 
    4545 
     
    9494 } 
    9595 
    96  free(self); 
     96 roar_mm_free(self); 
    9797 
    9898 return 0; 
Note: See TracChangeset for help on using the changeset viewer.