libdrgn: add missing break in drgn_object_copy()

Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
Omar Sandoval 2020-12-09 10:20:37 -08:00
parent c4b0d313ac
commit ffa2e0acf1

View File

@ -502,6 +502,7 @@ drgn_object_copy(struct drgn_object *res, const struct drgn_object *obj)
case DRGN_OBJECT_UNAVAILABLE:
drgn_object_reinit_copy(res, obj);
res->kind = DRGN_OBJECT_UNAVAILABLE;
break;
)
return NULL;
}