From: Mark Spencer Date: Tue, 2 Dec 2003 15:12:56 +0000 (+0000) Subject: Make valgrind happy on db read X-Git-Tag: 0.7.0~200 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dec9f318a8f9c8461be1e5d1d0d67c36f817e55e;p=thirdparty%2Fasterisk.git Make valgrind happy on db read git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1812 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/db.c b/db.c index 815ace4b89..4d9fd01679 100755 --- a/db.c +++ b/db.c @@ -135,7 +135,7 @@ int ast_db_put(const char *family, const char *keys, char *value) int ast_db_get(const char *family, const char *keys, char *value, int valuelen) { - char fullkey[256]; + char fullkey[256]=""; DBT key, data; int res;