]> git.sur5r.net Git - i3/i3/blobdiff - include/con.h
Bugfix: free incomplete containers when JSON parsing fails
[i3/i3] / include / con.h
index 1c7bb9322a3fa995ab7a0722ace0a3a3fc2e595a..6a7e31bc44331c2d8ac9f7e305ab42187d49a40a 100644 (file)
@@ -25,6 +25,12 @@ Con *con_new_skeleton(Con *parent, i3Window *window);
  */
 Con *con_new(Con *parent, i3Window *window);
 
+/**
+ * Frees the specified container.
+ *
+ */
+void con_free(Con *con);
+
 /**
  * Sets input focus to the given container. Will be updated in X11 in the next
  * run of x_push_changes().