Browse Source

Removed unnecessary retain/release.

woollybah 5 năm trước cách đây
mục cha
commit
2828f1f878
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      reflection.mod/reflection.c

+ 0 - 3
reflection.mod/reflection.c

@@ -102,13 +102,10 @@ void bbRefPushObject( BBObject **p,BBObject *t ){
 }
 
 void bbRefInitObject( BBObject **p,BBObject *t ){
-	BBRETAIN( t );
 	*p=t;
 }
 
 void bbRefAssignObject( BBObject **p,BBObject *t ){
-	BBRETAIN( t );
-	BBRELEASE( *p );
 	*p=t;
 }