commit 84b8df4bd5bd1506dd72da9928ccd9f2e8112517
parent a59d784fb94e4ba37ec950b488f887b4241dd13f
Author: Ashish Kumar Yadav <ashishkumar.yadav@students.iiserpune.ac.in>
Date: Tue, 3 Aug 2021 00:17:55 +0530
[st][patch][csi_22_23] Use xstrdup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.suckless.org/patches/csi_22_23/st-csi_22_23-0.8.4.diff b/st.suckless.org/patches/csi_22_23/st-csi_22_23-0.8.4.diff
@@ -161,7 +161,7 @@ index 210f184..6184a11 100644
+ p = tstack.titles[tstack.i];
+ } else {
+ DEFAULT(p, opt_title);
-+ tstack.titles[tstack.i] = strdup(p);
++ tstack.titles[tstack.i] = xstrdup(p);
+ }
+
+ Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, &prop);