Skip to content

Commit ecab3ed

Browse files
committed
Apply a Lexbor patch (TODO: write patchfile)
1 parent 04299cc commit ecab3ed

File tree

1 file changed

+2
-0
lines changed
  • ext/dom/lexbor/lexbor/css

1 file changed

+2
-0
lines changed

ext/dom/lexbor/lexbor/css/rule.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,15 @@ lxb_css_rule_ref_dec(lxb_css_rule_t *rule)
339339
lxb_inline void
340340
lxb_css_rule_ref_dec_destroy(lxb_css_rule_t *rule)
341341
{
342+
#if 0
342343
if (rule->ref_count > 0) {
343344
rule->ref_count--;
344345
}
345346

346347
if (rule->ref_count == 0) {
347348
(void) lxb_css_rule_destroy(rule, true);
348349
}
350+
#endif
349351
}
350352

351353
lxb_inline void

0 commit comments

Comments
 (0)