New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79289


Ignore:
Timestamp:
06/08/11 03:09:18 (4 years ago)
Author:
cal@…
Message:

rev-uprgade: Cleanup, modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc11-rev-upgrade/base/src/cregistry/registry.c

    r78973 r79289  
    22 * registry.c 
    33 * $Id$ 
     4 * vim:expandtab:tw=80 
    45 * 
    56 * Copyright (c) 2007 Chris Pickel <sfiera@macports.org> 
     
    262263        int r; 
    263264        reg_entry* entry; 
    264         reg_file* file; 
    265265        Tcl_HashEntry* curr; 
    266266        Tcl_HashSearch search; 
     
    282282                    for (curr = Tcl_FirstHashEntry(&reg->open_files, &search); 
    283283                            curr != NULL; curr = Tcl_NextHashEntry(&search)) { 
    284                         file = Tcl_GetHashValue(curr); 
    285                         if (file->proc) { 
    286                             free(file->proc); 
    287                         } 
    288                         if (file->key.path) { 
    289                             free(file->key.path); 
    290                         } 
     284                        reg_file* file = Tcl_GetHashValue(curr); 
     285 
     286                        free(file->proc); 
     287                        free(file->key.path); 
    291288                        free(file); 
    292289                    } 
Note: See TracChangeset for help on using the changeset viewer.