Changes in trunk/src/sh_hash.c [3:1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r3 r1 653 653 { 654 654 sh_file_t * p; 655 sh_file_t * q;656 655 int key; 657 656 … … 675 674 strlen(s->fullpath) == strlen(p->fullpath)) 676 675 { 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; 676 SH_FREE(s->fullpath); 677 if(s->linkpath) 678 SH_FREE(s->linkpath); 683 679 SH_FREE(s); 684 680 s = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.