Changeset c230bc1
- Timestamp:
- Mar 7, 2010, 10:26:22 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- a44cd91
- Parents:
- 8d4b521
- git-author:
- Anders Kaseorg <andersk@mit.edu> (02/27/10 22:35:14)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:22)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r1672650 rc230bc1 1862 1862 if (owl_zwrite_is_message_set(&z)) { 1863 1863 owl_function_zwrite(buff, NULL); 1864 owl_zwrite_ free(&z);1864 owl_zwrite_cleanup(&z); 1865 1865 return (NULL); 1866 1866 } 1867 owl_zwrite_ free(&z);1867 owl_zwrite_cleanup(&z); 1868 1868 1869 1869 if (argc < 2) { … … 1973 1973 if (owl_zwrite_is_message_set(&z)) { 1974 1974 owl_function_zcrypt(buff, NULL); 1975 owl_zwrite_ free(&z);1975 owl_zwrite_cleanup(&z); 1976 1976 return (NULL); 1977 1977 } 1978 owl_zwrite_ free(&z);1978 owl_zwrite_cleanup(&z); 1979 1979 1980 1980 if (argc < 2) { -
functions.c
r8d4b521 rc230bc1 235 235 236 236 owl_message_create_from_zwrite(m, &zw, body); 237 owl_zwrite_ free(&zw);237 owl_zwrite_cleanup(&zw); 238 238 239 239 return(m); … … 326 326 if (ret) { 327 327 owl_function_error("Error in zwrite arguments"); 328 owl_zwrite_ free(&z);328 owl_zwrite_cleanup(&z); 329 329 return; 330 330 } … … 334 334 owl_zwrite_send_ping(&z); 335 335 } 336 owl_zwrite_ free(&z);336 owl_zwrite_cleanup(&z); 337 337 338 338 owl_function_write_setup(line, "zephyr", &owl_callback_zwrite); … … 391 391 392 392 /* free the zwrite */ 393 owl_zwrite_ free(&z);393 owl_zwrite_cleanup(&z); 394 394 } 395 395 … … 417 417 owl_function_error("Error in zcrypt, possibly no key found. Message not sent."); 418 418 owl_function_beep(); 419 owl_zwrite_ free(&z);419 owl_zwrite_cleanup(&z); 420 420 return; 421 421 } … … 444 444 /* free the zwrite */ 445 445 owl_free(cryptmsg); 446 owl_zwrite_ free(&z);446 owl_zwrite_cleanup(&z); 447 447 } 448 448 -
zephyr.c
r46c7f5b rc230bc1 815 815 owl_log_outgoing_zephyr_error(&zw, buff); 816 816 817 owl_zwrite_ free(&zw);817 owl_zwrite_cleanup(&zw); 818 818 owl_free(tmp); 819 819 } -
zwrite.c
r8c59178 rc230bc1 271 271 owl_zwrite_populate_zsig(&z); 272 272 owl_zwrite_send_message(&z); 273 owl_zwrite_ free(&z);273 owl_zwrite_cleanup(&z); 274 274 return(0); 275 275 } … … 350 350 } 351 351 352 void owl_zwrite_ free(owl_zwrite *z)352 void owl_zwrite_cleanup(owl_zwrite *z) 353 353 { 354 354 owl_list_cleanup(&(z->recips), &owl_free);
Note: See TracChangeset
for help on using the changeset viewer.