From 17392a865ac79a9f631e63652dff45b6bb1c64d2 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 26 Feb 2010 07:59:54 +0000 Subject: Move the definitions of all the private data structures out of wtap-int.h, and change the unions of pointers to those private data structures into just void *'s. Have the generic wtap close routine free up the private data, rather than the type-specific close routine, just as the wtap_dumper close routine does for its private data. Get rid of close routines that don't do anything any more. svn path=/trunk/; revision=32015 --- wiretap/jpeg_jfif.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'wiretap/jpeg_jfif.c') diff --git a/wiretap/jpeg_jfif.c b/wiretap/jpeg_jfif.c index 613c958337..7823343b58 100644 --- a/wiretap/jpeg_jfif.c +++ b/wiretap/jpeg_jfif.c @@ -147,10 +147,7 @@ jpeg_jfif_open(wtap *wth, int *err, gchar **err_info) wth->tsprecision = WTAP_FILE_TSPREC_SEC; wth->subtype_read = jpeg_jfif_read; wth->subtype_seek_read = jpeg_jfif_seek_read; - wth->subtype_close = NULL; wth->snapshot_length = 0; - - wth->capture.generic = NULL; } } -- cgit v1.2.3