diff options
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |