Small bugfix.

pull/13171/head
Joshua Haberman 16 years ago
parent cd2f77d392
commit 085aa44fcd
  1. 2
      src/upb_mm.c

@ -59,8 +59,8 @@ static struct upb_mm_ref *find_or_create_ref(struct upb_mm_ref *fromref,
struct upb_mm_ref **ref = &head->refs;
while(*ref && (*ref)->mm <= mm) {
if((*ref)->mm == mm) {
return *ref;
*created = false;
return *ref;
}
ref = &((*ref)->next);
}

Loading…
Cancel
Save