Changeset 4419:f69bdc2096d0 in roaraudio


Ignore:
Timestamp:
10/07/10 05:24:04 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed bug that IO error in cf can segfaul roard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/sources.c

    r3811 r4419  
    334334 //if ( roar_vio_open_file(vio, device, O_RDONLY, 0644) == -1 ) { 
    335335 if ( roar_vio_open_dstr(vio, device, &def, 1) == -1 ) { 
     336  roar_vio_init_calls(vio); // clear the VIO object again 
     337                            // from things roar_vio_open_dstr() left. 
    336338  _ret(-1); 
    337339 } 
Note: See TracChangeset for help on using the changeset viewer.