/[winpt]/trunk/Src/wptFileCBS.cpp
ViewVC logotype

Diff of /trunk/Src/wptFileCBS.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 272 by twoaday, Sun Nov 5 08:57:45 2006 UTC revision 273 by twoaday, Fri Dec 8 10:22:17 2006 UTC
# Line 56  read_cb (void *handle, void *buffer, siz Line 56  read_cb (void *handle, void *buffer, siz
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;
# Line 174  gpg_file_data_release (file_data_t cb) Line 174  gpg_file_data_release (file_data_t cb)
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  }  }

Legend:
Removed from v.272  
changed lines
  Added in v.273

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26