Files
libssh/src
Tobias Klauser 15d71a8c51 sftp: Fix memory leak on realloc failure
If realloc of sftp->ext->name or sftp->ext->data fails, the memory
previously allocated for the respective member is leaked. Fix this by
storing the return value of realloc() in a temporary variable which only
gets assigned to the respective sftp->ext member on success.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-14 10:22:55 +01:00
..
2014-05-27 15:42:53 +02:00
2014-09-07 10:38:23 +02:00
2014-01-07 16:08:23 +01:00
2014-12-25 12:32:16 +01:00
2014-12-25 12:32:16 +01:00
2015-01-06 15:12:17 +01:00
2011-09-18 21:37:17 +02:00
2014-08-18 10:08:00 +02:00
2014-08-18 10:08:00 +02:00
2014-01-07 15:18:15 +01:00
2011-05-01 19:42:50 +02:00
2014-12-25 12:32:16 +01:00
2014-01-16 15:27:46 +01:00
2014-06-10 13:52:38 +02:00
2012-10-09 11:09:34 +02:00
2014-12-25 12:32:16 +01:00
2014-04-22 09:35:33 +02:00
2014-01-07 16:08:23 +01:00
2014-02-05 22:29:22 +01:00
2014-12-25 12:32:16 +01:00
2014-01-08 18:57:31 +01:00
2014-10-02 08:25:10 +02:00