Changeset 5834:22e75d31bfd8 in roaraudio for libroar/vio.c
- Timestamp:
- 01/06/13 19:56:21 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio.c
r5823 r5834 218 218 int roar_vio_unref (struct roar_vio_calls * vio) { 219 219 int ret; 220 int err; 220 221 221 222 ROAR_DBG("roar_vio_unref(vio=%p) = ?", vio); … … 240 241 roar_err_update(); 241 242 242 if ( vio->flags & ROAR_VIO_FLAGS_FREESELF ) 243 err = roar_error; 244 245 if ( vio->flags & ROAR_VIO_FLAGS_FREESELF ) { 246 roar_vio_clear_calls(vio); 243 247 roar_mm_free(vio); 244 248 } else { 249 roar_vio_clear_calls(vio); 250 } 251 252 roar_error = err; 245 253 return ret; 246 254 }
Note: See TracChangeset
for help on using the changeset viewer.