odb.c
15.8 KB
-
odb: don't leak when detecting id ambiguity · c06e0003
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.
Carlos Martín Nieto committed