# HG changeset patch # User Guido Berhoerster # Date 1564490555 -7200 # Node ID 956e97003bad49ae5bfb3d2441b695e14e371648 # Parent 7fd61c245bbd987be5b7fed5b21d4700ed257923 Fix size of object to be free'd diff -r 7fd61c245bbd -r 956e97003bad pws-record.c --- a/pws-record.c Tue Jul 30 14:31:58 2019 +0200 +++ b/pws-record.c Tue Jul 30 14:42:35 2019 +0200 @@ -39,7 +39,7 @@ for (i = 0x01; i <= 0xff; i++) { pws3_field_destroy(record->fields[i]); } - pws_free(record, sizeof (record)); + pws_free(record, sizeof (struct pws3_record)); } struct pws3_record *