krb5int_copy_data_contents shouldn't free memory it didn't allocate
authorTom Yu <tlyu@mit.edu>
Tue, 28 Nov 2006 04:57:55 +0000 (04:57 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 28 Nov 2006 04:57:55 +0000 (04:57 +0000)
commitfdfc73ab2aa0a381610f6cd7ae6fbe7246ec53f4
treec89ba7261b4d37001ae38c8a5fffa83e0ad32795
parenta441d94e113a9accb4a8ebb87444903a0d4aa38a
krb5int_copy_data_contents shouldn't free memory it didn't allocate

* src/lib/krb5/krb/copy_data.c (krb5int_copy_data_contents): Don't
free outdata on malloc failure; we didn't allocate outdata.

ticket: new
target_version: 1.6
tags: pullup
component: krb5-libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18865 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/copy_data.c