From: J. Bruce Fields Date: Tue, 18 Apr 2006 17:14:02 +0000 (-0400) Subject: RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc X-Git-Tag: v2.6.17-rc3~80^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a30e7e66c004da26dfe5229af7c10fe9853a7a;p=pandora-kernel.git RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc I was sloppy when generating a previous patch; I modified the callers of krb5_make_checksum() to allocate memory for the buffer where the result is returned, then forgot to modify krb5_make_checksum to stop allocating that memory itself. The result is a per-packet memory leak. This fixes the problem by removing the now-superfluous kmalloc(). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed