Home GnuPG
Diffusion GPGME 9d5048d47446

qt: Use gpgrt_asprintf instead of qstrdup
9d5048d47446Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

qt: Use gpgrt_asprintf instead of qstrdup

* lang/qt/src/dn.cpp (parse_dn_part): Use gpgrt_asprintf instead
of qstrdup.

This fixes a new / free mismatch because qstrdup uses new and
the allocated parts are freed with free. Similar to: a09ed3f2

Details

Provenance
aheineckeAuthored on Mar 13 2017, 11:14 AM
Parents
rMd2240a2a1819: core: Fix status error return for gpgsm.
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rM9d5048d47446: qt: Use gpgrt_asprintf instead of qstrdup (authored by Andre Heinecke <aheinecke@intevation.de>).Mar 13 2017, 11:17 AM