diff options
author | Stef Walter <stefw@gnome.org> | 2011-11-19 08:04:28 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-11-19 08:04:28 +0100 |
commit | a075105bf43b3f70548df1ceb0d1bc75e88010ed (patch) | |
tree | f4d5a426da01d1733cc5a18850b3aa537922bb27 /egg/egg-secure-memory.c | |
parent | 17fade31736bed8509827e4790a96f5933fbd29d (diff) | |
download | libsecret-a075105bf43b3f70548df1ceb0d1bc75e88010ed.tar.gz |
Fix problem when compiling without valgrind
Diffstat (limited to 'egg/egg-secure-memory.c')
-rw-r--r-- | egg/egg-secure-memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/egg/egg-secure-memory.c b/egg/egg-secure-memory.c index 49230c5..dca9bac 100644 --- a/egg/egg-secure-memory.c +++ b/egg/egg-secure-memory.c @@ -794,8 +794,10 @@ sec_validate (Block *block) Cell *cell; word_t *word, *last; +#ifdef WITH_VALGRIND if (RUNNING_ON_VALGRIND) return; +#endif word = block->words; last = word + block->n_words; |