commit 84b8df4bd5bd1506dd72da9928ccd9f2e8112517
Author: Ashish Kumar Yadav <[email protected]>
Date:   Tue Aug 3 00:17:55 2021 +0530

    [st][patch][csi_22_23] Use xstrdup

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
index 893a2c53..b2f87e26 100644
--- 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);


Reply via email to