parse +-separated scheme lists (e.g., svn+ssh);
[platform/upstream/libiri.git] / libiri / destroy.c
index 72f480f..ff2533d 100644 (file)
@@ -1,4 +1,9 @@
 /*
+ * libiri: An IRI/URI/URL parsing library
+ * @(#) $Id$
+ */
+
+/*
  * Copyright (c) 2005, 2008 Mo McRoberts.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -36,7 +41,7 @@ iri_destroy(iri_t *iri)
 {
        if(NULL != iri)
        {
-               free(iri->_private);
+               free(iri->base);
                free(iri);
        }
 }