summaryrefslogtreecommitdiffstats
path: root/AffinityPanel.c
diff options
context:
space:
mode:
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r--AffinityPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AffinityPanel.c b/AffinityPanel.c
index 41f520b5..03bfa753 100644
--- a/AffinityPanel.c
+++ b/AffinityPanel.c
@@ -60,7 +60,7 @@ Panel* AffinityPanel_new(ProcessList* pl, Affinity* affinity) {
} else {
mode = false;
}
- Panel_add(this, (Object*) CheckItem_newByVal(strdup(number), mode));
+ Panel_add(this, (Object*) CheckItem_newByVal(xStrdup(number), mode));
}
return this;
}