diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-02-26 07:59:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-02-26 07:59:54 +0000 |
commit | 17392a865ac79a9f631e63652dff45b6bb1c64d2 (patch) | |
tree | 42c7ec409a0e898eea7c0ebf4ba34f2f633797b6 /wiretap/jpeg_jfif.c | |
parent | c4dd5ca6f3bb794c9f1736adf8a8f02c641a76e6 (diff) |
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
Diffstat (limited to 'wiretap/jpeg_jfif.c')
-rw-r--r-- | wiretap/jpeg_jfif.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } } |