Changeset 3651:adb17af3b61c in roaraudio for libroar/simple.c


Ignore:
Timestamp:
03/18/10 21:57:58 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed fh leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/simple.c

    r3517 r3651  
    295295  if ( roar_stream_passfh(con, s, socks[0]) == -1 ) { 
    296296   roar_kick(con, ROAR_OT_STREAM, s->id); // we do not need to check for errors 
    297                                           // as we return -1 in both whys 
     297                                          // as we return -1 anyway. 
     298   close(socks[0]); 
     299   close(socks[1]); 
    298300   return -1; 
    299301  } 
Note: See TracChangeset for help on using the changeset viewer.