- Timestamp:
- 2010-06-03T22:08:23Z (15 years ago)
- Branches:
- master
- Children:
- eb6df6a
- Parents:
- 1dd3470 (diff), 3dc6d86 (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
r1dd3470 r3759849 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 int taglen; 160 160 161 memset( out, 0, s trlen( in ) + 1);161 memset( out, 0, sizeof( out ) ); 162 162 163 163 while( *in ) … … 230 230 231 231 strcpy( start, out ); 232 g_free( out );233 232 } 234 233
Note: See TracChangeset
for help on using the changeset viewer.