Changeset 5834:22e75d31bfd8 in roaraudio for libroar/vio.c


Ignore:
Timestamp:
01/06/13 19:56:21 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Fix #296 by using a workaround (disabling RTLD_DEEPBIND). Needs to be fully fixed next release. (See #296)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio.c

    r5823 r5834  
    218218int     roar_vio_unref    (struct roar_vio_calls * vio) { 
    219219 int ret; 
     220 int err; 
    220221 
    221222 ROAR_DBG("roar_vio_unref(vio=%p) = ?", vio); 
     
    240241 roar_err_update(); 
    241242 
    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); 
    243247  roar_mm_free(vio); 
    244  
     248 } else { 
     249  roar_vio_clear_calls(vio); 
     250 } 
     251 
     252 roar_error = err; 
    245253 return ret; 
    246254} 
Note: See TracChangeset for help on using the changeset viewer.