Changeset 96828e4 for logging.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:33 PM (13 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
35b6eb9
Parents:
9518a85
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:51:45)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:33)
Message:
Replace owl_malloc with g_new and g_new0.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    rc366cbd r96828e4  
    182182   * owl_log_shouldlog_message(void)
    183183   */
    184   m = owl_malloc(sizeof(owl_message));
     184  m = g_new(owl_message, 1);
    185185  owl_message_create_from_zwrite(m, zw, text);
    186186  if (!owl_log_shouldlog_message(m)) {
Note: See TracChangeset for help on using the changeset viewer.