Guest User

Untitled

a guest
Sep 28th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.80 KB | None | 0 0
  1. diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
  2. index fa64ce1..a574819 100644
  3. --- a/src/lib/eo/eo.c
  4. +++ b/src/lib/eo/eo.c
  5. @@ -909,8 +909,6 @@ _eo_add_internal_start(const char *file, int line, const Eo_Class *klass_id, Eo
  6.  
  7.     _eo_condtor_reset(obj);
  8.  
  9. -   _eo_ref(obj);
  10. -
  11.     eo_do(eo_id, eo_parent_set(parent_id));
  12.  
  13.     /* If there's a parent. Unref. Eo_add should return an object with either a
  14. @@ -948,14 +946,11 @@ _eo_add_internal_end(Eo *eo_id)
  15.              klass->desc->name);
  16.          /* Unref twice, once for the ref in _eo_add_internal_start, and once for the basic object ref. */
  17.          _eo_unref(fptr->o.obj);
  18. -        _eo_unref(fptr->o.obj);
  19.          return NULL;
  20.       }
  21.  
  22.     fptr->o.obj->finalized = EINA_TRUE;
  23.  
  24. -   _eo_unref(fptr->o.obj);
  25. -
  26.     return (Eo *)eo_id;
  27.  }
Advertisement
Add Comment
Please, Sign In to add comment