view src/protocols/zephyr/ZFreeNot.c @ 12387:1112a9ef2cc6

[gaim-migrate @ 14693] Fix a leak. This compiles, but I'm now seeing all sorts of random segfaults, both with this code and prior to the change. Thus, I'm fairly sure this change isn't at fault. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 07 Dec 2005 09:16:25 +0000
parents 64895571248f
children
line wrap: on
line source

/* This file is part of the Project Athena Zephyr Notification System.
 * It contains source for the ZFreeNotice function.
 *
 *	Created by:	Robert French
 *
 *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */

#include "internal.h"

Code_t ZFreeNotice(notice)
    ZNotice_t *notice;
{
    free(notice->z_packet);
    return 0;
}