Browse Source

Removed unnecessary retain/release.

woollybah 5 years ago
parent
commit
2828f1f878
1 changed files with 0 additions and 3 deletions
  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;
 }