diff options
-rw-r--r-- | st.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2263,9 +2263,10 @@ tdumpsel(void) | |||
2263 | { | 2263 | { |
2264 | char *ptr; | 2264 | char *ptr; |
2265 | 2265 | ||
2266 | ptr = getsel(); | 2266 | if((ptr = getsel())) { |
2267 | tprinter(ptr, strlen(ptr)); | 2267 | tprinter(ptr, strlen(ptr)); |
2268 | free(ptr); | 2268 | free(ptr); |
2269 | } | ||
2269 | } | 2270 | } |
2270 | 2271 | ||
2271 | void | 2272 | void |