# HG changeset patch # User Matti Hamalainen # Date 1307761231 -10800 # Node ID a0c001672b4401dcfa62b186d8d95fe73d4ad15d # Parent 65c156ef7a9db7c6937ac2af1e1ad8361101fdab Cosmetics. diff -r 65c156ef7a9d -r a0c001672b44 libnnchat.c --- a/libnnchat.c Sat Jun 11 05:48:15 2011 +0300 +++ b/libnnchat.c Sat Jun 11 06:00:31 2011 +0300 @@ -574,7 +574,7 @@ void nn_editbuf_free(nn_editbuf_t *buf) { - if (buf) { + if (buf != NULL) { th_free(buf->data); th_free(buf); }