Skip to content

Commit 00bb1f7

Browse files
committed
vcard_to_v3_x(): don't leak KIND or MEMBER properties
1 parent 9bcdad0 commit 00bb1f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: imap/vcard_support.c

+1
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ EXPORTED void vcard_to_v3_x(vcardcomponent *vcard)
679679
vcardproperty_set_x_name(new, key);
680680
vcardcomponent_add_property(vcard, new);
681681
vcardcomponent_remove_property(vcard, prop);
682+
vcardproperty_free(prop);
682683
break;
683684

684685
default:

0 commit comments

Comments
 (0)