diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-30 20:03:41 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-30 20:03:41 -0700 |
commit | 085aa44fcd442ab031cad8160ebf2d605b0d6325 (patch) | |
tree | 263dfb2c927ede31f209c6b39003c4c966832fc2 /src/upb_mm.c | |
parent | cd2f77d39251be4326f9d75ba10ab8ac5686475e (diff) |
Small bugfix.
Diffstat (limited to 'src/upb_mm.c')
-rw-r--r-- | src/upb_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_mm.c b/src/upb_mm.c index 769db96..bdf5f08 100644 --- a/src/upb_mm.c +++ b/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); } |