Skip to content

Commit 84f5eea

Browse files
authored
Fix the incorrect call. (#3143)
1 parent 9ed0ee3 commit 84f5eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binding/SkiaSharp/SKObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public static void SafeRef (this ISKReferenceCounted obj)
313313
if (obj is ISKNonVirtualReferenceCounted nvrefcnt)
314314
nvrefcnt.ReferenceNative ();
315315
else
316-
SkiaApi.sk_refcnt_safe_unref (obj.Handle);
316+
SkiaApi.sk_refcnt_safe_ref (obj.Handle);
317317
}
318318

319319
public static void SafeUnRef (this ISKReferenceCounted obj)

0 commit comments

Comments
 (0)