Commit 9aa1fd75705ab8fe50a75004c40c84e2e7dc5e36

Stefan Sperling 2017-11-29T23:51:39

add a comment about xmalloc; it needs to go away

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/diffreg.c b/lib/diffreg.c
index 2e83f53..544c14d 100644
--- a/lib/diffreg.c
+++ b/lib/diffreg.c
@@ -88,7 +88,7 @@
 #include "got_diff.h"
 
 #include "diff.h"
-#include "xmalloc.h"
+#include "xmalloc.h" /* XXX should return GOT_ERR_NO_MEM instead of exiting */
 
 #define MINIMUM(a, b)	(((a) < (b)) ? (a) : (b))
 #define MAXIMUM(a, b)	(((a) > (b)) ? (a) : (b))