Changeset 48496


Ignore:
Timestamp:
Mar 23, 2009, 9:12:39 PM (12 years ago)
Author:
toby@…
Message:

Fix a few fd leaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r48230 r48496  
    398398                    }
    399399                }
    400             }           
     400            }
     401            close $fd
    401402        }
    402403    }
     
    414415            }
    415416        }
     417        close $fd
    416418    }
    417419   
     
    439441        }
    440442    }
     443    close $fd
    441444    # Make sure the default port source is defined. Otherwise
    442445    # [macports::getportresourcepath] fails when the first source doesn't
     
    472475                }
    473476            }
     477            close $fd
    474478        } else {
    475479            ui_debug "$variants_conf does not exist, variants_conf setting ignored."
Note: See TracChangeset for help on using the changeset viewer.