Changeset 1861:1dc86f9cb367 in roaraudio


Ignore:
Timestamp:
05/23/09 13:02:55 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not delete yourself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/req.c

    r1848 r1861  
    131131 
    132132    if ( ROAR_STREAM(s)->pos_rel_id == -1 || ROAR_STREAM(s)->pos_rel_id == stream ) { 
     133     ROAR_STREAM(s)->pos_rel_id = -1; // force this here as it will try to delete itself while deleting 
     134                                      // in case rel_id == stream 
    133135     streams_delete(stream); 
    134136     return -1; 
Note: See TracChangeset for help on using the changeset viewer.