blob: b86ad3895e5c2c2c079960f762b0f347013cee1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ./resourcebundle/resourcebundle_iterator.c.orig 2010-04-13 10:38:51.000000000 -0400
+++ ./resourcebundle/resourcebundle_iterator.c 2010-04-13 10:39:13.000000000 -0400
@@ -75,7 +75,7 @@
resourcebundle_iterator_invalidate( iter TSRMLS_CC );
- object->refcount--;
+ Z_DELREF_P(object);
efree(iterator);
}
@@ -162,7 +162,7 @@
php_error( E_ERROR, "ResourceBundle does not support writable iterators" );
}
- object->refcount++;
+ Z_ADDREF_P(object);
iterator->intern.data = (void *) object;
iterator->intern.funcs = &resourcebundle_iterator_funcs;
|