odb: don't leak when detecting id ambiguity
If we find several objects with the same prefix, we need to free the memory where we stored the earlier object. Keep track of the raw.data pointer across read_prefix calls and free it if we find another object.
Showing
Please
register
or
sign in
to comment