- Timestamp:
- Dec 25, 2013, 11:33:37 AM (11 years ago)
- Branches:
- master, release-1.10
- Children:
- 8f95fc4, c53f5e8, 1bd5aa9
- Parents:
- d779a1a
- git-author:
- Anders Kaseorg <andersk@mit.edu> (12/25/13 11:18:38)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (12/25/13 11:33:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
logging.c
r0792d99 r7dcef03 177 177 g_free(msg->message); 178 178 g_free(msg->filename); 179 g_ free(msg);179 g_slice_free(owl_log_entry, msg); 180 180 } 181 181 } … … 184 184 { 185 185 owl_log_entry *log_msg = NULL; 186 log_msg = g_ new(owl_log_entry,1);186 log_msg = g_slice_new(owl_log_entry); 187 187 log_msg->message = g_strdup(buffer); 188 188 log_msg->filename = g_strdup(filename); … … 266 266 * owl_log_shouldlog_message(void) 267 267 */ 268 m = g_ new(owl_message, 1);268 m = g_slice_new(owl_message); 269 269 /* recip_index = 0 because there can only be one recipient anyway */ 270 270 owl_message_create_from_zwrite(m, zw, text, 0);
Note: See TracChangeset
for help on using the changeset viewer.