Changeset 79289
- Timestamp:
- 06/08/11 03:09:18 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gsoc11-rev-upgrade/base/src/cregistry/registry.c
r78973 r79289 2 2 * registry.c 3 3 * $Id$ 4 * vim:expandtab:tw=80 4 5 * 5 6 * Copyright (c) 2007 Chris Pickel <sfiera@macports.org> … … 262 263 int r; 263 264 reg_entry* entry; 264 reg_file* file;265 265 Tcl_HashEntry* curr; 266 266 Tcl_HashSearch search; … … 282 282 for (curr = Tcl_FirstHashEntry(®->open_files, &search); 283 283 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); 291 288 free(file); 292 289 }
Note: See TracChangeset
for help on using the changeset viewer.

