registry: avoid some unnecessary strdup/free when reading the binary registry
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Jan 2010 20:21:32 +0000 (20:21 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Jan 2010 21:35:17 +0000 (21:35 +0000)
commit5e47d24e1b25622f3bbae5d9b4ac4422475ddc6d
tree82abde1c578cc69a8b0634580a417e94c3506410
parentfc2f4ae37a0ca238fdad9302a7fe18828e946dae
registry: avoid some unnecessary strdup/free when reading the binary registry

Strings in the binary registry are NUL-terminated, so we can just use them
directly if we only need them temporarily, and avoid unnecessary mallocs
and frees.
gst/gstregistrychunks.c