mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
The last release, 1.10, is four years old. The git tree since fixes numerous bugs present in 1.10. Reviewed by: portlint Sponsored by: EMC / Isilon Storage Division
16 lines
469 B
C
16 lines
469 B
C
--- prefcnt.c.orig 2016-06-30 19:30:28 UTC
|
|
+++ prefcnt.c
|
|
@@ -66,9 +66,11 @@ static void refcnt_tag(struct tag *tag,
|
|
|
|
tag->visited = 1;
|
|
|
|
- if (tag__is_struct(tag) || tag__is_union(tag))
|
|
- type__for_each_member(tag__type(tag), member)
|
|
+ if (tag__is_struct(tag) || tag__is_union(tag)) {
|
|
+ type__for_each_member(tag__type(tag), member) {
|
|
refcnt_member(member, cu);
|
|
+ }
|
|
+ }
|
|
}
|
|
|
|
static void refcnt_lexblock(const struct lexblock *lexblock, const struct cu *cu)
|