summaryrefslogtreecommitdiff
path: root/libparted/cs/constraint.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-04 09:51:33 +0200
committerJim Meyering <meyering@redhat.com>2008-05-29 14:48:10 +0200
commitf7fcc31e0ce072820df58ca4f8810b0f6b038b06 (patch)
tree8ad214cb8acc7a15628268c0ac60a90473caef80 /libparted/cs/constraint.c
parentdddef445867696a3fb8635c4856ce764feeeca2f (diff)
downloadparted-f7fcc31e0ce072820df58ca4f8810b0f6b038b06.tar.gz
Use free, not ped_free.
* libparted/libparted.c (ped_free): Remove function. [DEBUG] (_check_dodgy_pointer): Remove function. Global substitution: perl -pi -e 's/\bped_free\b/free/g' $(lid -knone ped_free)
Diffstat (limited to 'libparted/cs/constraint.c')
-rw-r--r--libparted/cs/constraint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/cs/constraint.c b/libparted/cs/constraint.c
index 5595db3..e094e5b 100644
--- a/libparted/cs/constraint.c
+++ b/libparted/cs/constraint.c
@@ -106,7 +106,7 @@ ped_constraint_new (
return constraint;
error_free_constraint:
- ped_free (constraint);
+ free (constraint);
error:
return NULL;
}
@@ -277,7 +277,7 @@ ped_constraint_destroy (PedConstraint* constraint)
{
if (constraint) {
ped_constraint_done (constraint);
- ped_free (constraint);
+ free (constraint);
}
}