- Timestamp:
- 2010-06-01T21:51:27Z (15 years ago)
- Branches:
- master
- Children:
- ad404ab
- Parents:
- 3429b58 (diff), ba3233c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r3429b58 r704dd38 154 154 { 155 155 char *start = in; 156 char *out = g_malloc( strlen( in ) + 1 );156 char out[strlen(in)+1]; 157 157 char *s = out, *cs; 158 158 int i, matched; 159 159 160 memset( out, 0, s trlen( in ) + 1);160 memset( out, 0, sizeof( out ) ); 161 161 162 162 while( *in ) … … 220 220 221 221 strcpy( start, out ); 222 g_free( out );223 222 } 224 223
Note: See TracChangeset
for help on using the changeset viewer.