Changeset 3 for trunk/src/sh_hash.c
- Timestamp:
- Dec 21, 2005, 10:07:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r1 r3 653 653 { 654 654 sh_file_t * p; 655 sh_file_t * q; 655 656 int key; 656 657 … … 674 675 strlen(s->fullpath) == strlen(p->fullpath)) 675 676 { 676 SH_FREE(s->fullpath); 677 if(s->linkpath) 678 SH_FREE(s->linkpath); 677 q = p->next; 678 SH_FREE(p->fullpath); 679 if(p->linkpath) 680 SH_FREE(p->linkpath); 681 memcpy(p, s, sizeof(sh_file_t)); 682 p->next = q; 679 683 SH_FREE(s); 680 684 s = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.