~ubuntu-branches/debian/sid/ncurses/sid-200908151543

« back to all changes in this revision

Viewing changes to ncurses/tinfo/entries.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-05-24 15:13:01 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090524151301-uixgxq2zonfov2nr
Tags: 5.7+20090523-1
MergingĀ upstreamĀ versionĀ 5.7+20090523.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 2006-2007,2008 Free Software Foundation, Inc.              *
 
2
 * Copyright (c) 2006-2008,2009 Free Software Foundation, Inc.              *
3
3
 *                                                                          *
4
4
 * Permission is hereby granted, free of charge, to any person obtaining a  *
5
5
 * copy of this software and associated documentation files (the            *
37
37
#include <tic.h>
38
38
#include <term_entry.h>
39
39
 
40
 
MODULE_ID("$Id: entries.c,v 1.10 2008/12/07 00:11:45 tom Exp $")
 
40
MODULE_ID("$Id: entries.c,v 1.11 2009/03/14 15:22:37 tom Exp $")
41
41
 
42
42
/****************************************************************************
43
43
 *
117
117
 
118
118
    T((T_CALLED("_nc_free_tinfo()")));
119
119
#if NO_LEAKS
 
120
    _nc_free_tparm();
 
121
    _nc_tgetent_leaks();
 
122
 
120
123
    if (cur_term != 0)
121
124
        del_curterm(cur_term);
122
125
 
123
 
    _nc_free_tparm();
124
 
    _nc_tgetent_leaks();
125
126
    _nc_free_entries(_nc_head);
126
127
    _nc_get_type(0);
127
128
    _nc_first_name(0);