~ubuntu-branches/ubuntu/maverick/gnutls26/maverick-updates

« back to all changes in this revision

Viewing changes to src/cfg/cfg+.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2010-03-20 15:53:35 UTC
  • mfrom: (1.2.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: james.westby@ubuntu.com-20100320155335-9lxxf3r7ildrqs1v
Tags: upstream-2.8.6
ImportĀ upstreamĀ versionĀ 2.8.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        for (i = 0; i < CFG_N_PROPS; i++) {
73
73
                con->prop[i] = PLATON_FUNC(strdyn_create_ar)(cfg_default_properties[i]);
74
74
                if (con->prop[i] == NULL) {
75
 
                        /* TODO: possible freeing on failure */
 
75
                        cfg_free_context(con);
76
76
                        return NULL;
77
77
                }
78
78
        }