diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-07 09:12:44 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-07 09:12:44 +0200 |
commit | 1567738feddc9202308bc6e0be9c60d3adf5d56f (patch) | |
tree | 71079e154dddc108e611f4cb618a778e1dc164d6 /lib | |
parent | 105518cf5766bba6647e26b96e31b5a2d8ba18c4 (diff) | |
download | librpm-tizen-1567738feddc9202308bc6e0be9c60d3adf5d56f.tar.gz librpm-tizen-1567738feddc9202308bc6e0be9c60d3adf5d56f.tar.bz2 librpm-tizen-1567738feddc9202308bc6e0be9c60d3adf5d56f.zip |
Always return malloced data from i18n extensions for consistency
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tagexts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tagexts.c b/lib/tagexts.c index f438d193b..3c109e8ff 100644 --- a/lib/tagexts.c +++ b/lib/tagexts.c @@ -532,7 +532,7 @@ static int i18nTag(Header h, rpmTag tag, rpmtd td, headerGetFlags hgflags) dstring = _free(dstring); - rc = headerGet(h, tag, td, HEADERGET_DEFAULT); + rc = headerGet(h, tag, td, HEADERGET_ALLOC); return rc; } |