projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ID Cache: Fixed destructor callback calling.
[silc.git]
/
lib
/
silcapputil
/
silcidcache.c
diff --git
a/lib/silcapputil/silcidcache.c
b/lib/silcapputil/silcidcache.c
index 831970d5dd940e3b298795f8863e2fbbe91b396a..e2a7d8bb874bc70d69f0cc58b4843079697d29ac 100644
(file)
--- a/
lib/silcapputil/silcidcache.c
+++ b/
lib/silcapputil/silcidcache.c
@@
-4,7
+4,7
@@
Author: Pekka Riikonen <priikone@silcnet.org>
Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2000 - 200
7
Pekka Riikonen
+ Copyright (C) 2000 - 200
8
Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-55,7
+55,7
@@
static void silc_idcache_destructor(SilcIDCache cache,
void *app_context)
{
if (cache->destructor)
void *app_context)
{
if (cache->destructor)
- cache->destructor(cache, entry, cache->
destructor
, app_context);
+ cache->destructor(cache, entry, cache->
context
, app_context);
memset(entry, 'F', sizeof(*entry));
silc_free(entry);
memset(entry, 'F', sizeof(*entry));
silc_free(entry);