index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/sync.c | 4 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 22f49f84..20d50dc2 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -63,8 +63,10 @@ pmsyncpkg_t *_alpm_sync_new(int type, pmpkg_t *spkg, void *data) return(sync); } -void _alpm_sync_free(pmsyncpkg_t *sync) +void _alpm_sync_free(void *data) { + pmsyncpkg_t *sync = data; + if(sync == NULL) { return; } |