~ubuntu-branches/ubuntu/gutsy/syslog-ng/gutsy

« back to all changes in this revision

Viewing changes to src/logmsg.c

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2006-10-25 22:06:48 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061025220648-t39ltx1h9iyyikzs
Tags: 2.0rc3-2
Fixed NULL dereference when (Closes: #384021)

Show diffs side-by-side

added added

removed removed

Lines of Context:
659
659
void
660
660
log_msg_drop(LogMessage *m, guint path_flags)
661
661
{
662
 
  /* FIXME: count dropped messages */
663
662
  if ((path_flags & PF_FLOW_CTL_OFF) == 0)
664
663
    log_msg_ack(m);
665
664
  log_msg_unref(m);