diff options
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 73c61873..10d1eb61 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -82,13 +82,13 @@ void _alpm_sync_free(pmsyncpkg_t *sync) return; } + /* TODO wow this is ugly */ if(sync->type == PM_SYNC_TYPE_REPLACE) { FREELISTPKGS(sync->data); } else { FREEPKG(sync->data); } FREE(sync); - sync = NULL; } /* Find recommended replacements for packages during a sync. |