Changeset 465 for trunk/src/zAVLTree.c
- Timestamp:
- Mar 8, 2015, 6:02:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/zAVLTree.c
r458 r465 39 39 return (zAVLKey) arg; 40 40 } 41 static char * dummy_zfree_string; 41 42 static void zfree_string (void * inptr) 42 43 { 43 44 char * str = (char *) inptr; 45 46 /* Take the address to circumvent gcc 4.9 optimizer bug */ 47 dummy_zfree_string = (char *) &inptr; 48 44 49 str[0] = '\0'; 45 free ( str);50 free (inptr); 46 51 return; 47 52 }
Note:
See TracChangeset
for help on using the changeset viewer.