[evolution-data-server] Suppress a false-positive cppcheck memleak warning
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Suppress a false-positive cppcheck memleak warning
- Date: Tue, 12 Nov 2013 12:30:53 +0000 (UTC)
commit 34b1a05e05a8a08f306a3bfe3d8a6ad0511af3fc
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Nov 12 13:27:44 2013 +0100
Suppress a false-positive cppcheck memleak warning
Make sure you run cppcheck with ''inline-suppr" to take it into effect.
addressbook/backends/ldap/openldap-extract.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/backends/ldap/openldap-extract.h b/addressbook/backends/ldap/openldap-extract.h
index 6a356d0..57a8a0a 100644
--- a/addressbook/backends/ldap/openldap-extract.h
+++ b/addressbook/backends/ldap/openldap-extract.h
@@ -404,6 +404,7 @@ parse_oids (const gchar **sp, gint *code, const gint allow_quoted)
*code = LDAP_SCHERR_UNEXPTOKEN;
LDAP_FREE (sval);
LDAP_VFREE (res);
+ /* cppcheck-suppress memleak */
return NULL;
}
parse_whsp (sp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]