56 |
} |
} |
57 |
|
|
58 |
/* XXX: there is a sync problem with the progress dialog. */ |
/* XXX: there is a sync problem with the progress dialog. */ |
59 |
if (pfx) |
if (pfx != NULL) |
60 |
progress_callback (pfx, NULL, 0, cb->off, cb->size); |
progress_callback (pfx, NULL, 0, cb->off, cb->size); |
61 |
cb->off += nread; |
cb->off += nread; |
62 |
return (long)nread; |
return (long)nread; |
174 |
CloseHandle (cb->handle); |
CloseHandle (cb->handle); |
175 |
cb->handle = NULL; |
cb->handle = NULL; |
176 |
} |
} |
177 |
if (cb->dat) |
if (cb->dat) { |
178 |
gpgme_data_release (cb->dat); |
gpgme_data_release (cb->dat); |
179 |
|
cb->dat = NULL; |
180 |
|
} |
181 |
free_if_alloc (cb->name); |
free_if_alloc (cb->name); |
182 |
free_if_alloc (cb); |
free_if_alloc (cb); |
183 |
} |
} |