Changeset 4049:802580eeb8a8 in roaraudio for roard/meta.c
- Timestamp:
- 07/09/10 15:46:06 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/meta.c
r3811 r4049 64 64 } 65 65 66 if ( (c = malloc(strlen(val)+1)) == NULL ) {66 if ( (c = strdup(val)) == NULL ) { 67 67 s->meta[i].type = ROAR_META_TYPE_NONE; 68 68 s->meta[i].key[0] = 0; … … 70 70 } 71 71 72 strcpy(c, val);73 72 s->meta[i].value = c; 74 73
Note: See TracChangeset
for help on using the changeset viewer.