www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [PATCH] knownhost.c: use LIBSSH2_FREE macro instead of free

[PATCH] knownhost.c: use LIBSSH2_FREE macro instead of free

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sat, 18 May 2013 23:52:32 +0200

Hello everyone,

another small patch to fix warnings I noticed during development. free
is actually not explicitly declared since the corresponding header
file is not imported.

It also makes sense to free the buffers using the same wrapper
interface they have been created with.

Best regards,
Marc

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2013-05-18

the libssh2 team