Branch: Tag:

2014-05-26

2014-05-26 16:37:00 by Martin Nilsson <nilsson@opera.com>

Fixed some misfirings from Pers script.

309:    void *f;    if (!from)    return NULL; -  if(type) +  if (type)    f=get_storage( from, type );    else    f=from->storage; /* Add a warning? */
319:   }      void pgtk2_destruct(struct object *o) { -  struct object_wrapper *ow= -  get_storage(o,pg2_object_program); +  struct object_wrapper *ow=get_storage(o,pg2_object_program);    if (ow) /* This should always be true. But let's add a check anyway. */    ow->obj=NULL;    if (o->refs>1)