Skip to content

Commit

Permalink
Fix misprint in macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Apr 7, 2014
1 parent 5516184 commit a8b1f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ref.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ typedef struct ref_entry_s {
} while (0)

#define REF_RELEASE(obj) do { \
unsigned int rc = __sync_sub_and_fetch (&(obj)->ref.refcount, 1) \
unsigned int rc = __sync_sub_and_fetch (&(obj)->ref.refcount, 1); \
if (rc == 0 && (obj)->ref.dtor) { \
(obj)->ref.dtor (obj); \
} \
Expand Down

0 comments on commit a8b1f29

Please sign in to comment.