summaryrefslogtreecommitdiff
path: root/src/mwindow.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-06-22 20:48:50 +0200
committerVicent Marti <tanoku@gmail.com>2012-06-22 20:48:50 +0200
commit2ae052d1b1574d1a4de402c91ebb98f061c997d4 (patch)
treeb300607ad284ef97e5b0d09cf519905f84668174 /src/mwindow.c
parent430af731d259053691b0de9b18917f7adf97021a (diff)
parentdb5a6ec72b63c986cca764c75f9d3d720cff44ef (diff)
downloadlibgit2-2ae052d1b1574d1a4de402c91ebb98f061c997d4.tar.gz
Merge branch 'pull-req' of https://github.com/chris-y/libgit2 into amigaos
Diffstat (limited to 'src/mwindow.c')
-rw-r--r--src/mwindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mwindow.c b/src/mwindow.c
index 57adabd48..74fbf7834 100644
--- a/src/mwindow.c
+++ b/src/mwindow.c
@@ -158,6 +158,7 @@ static git_mwindow *new_window(
git_mwindow *w;
w = git__malloc(sizeof(*w));
+
if (w == NULL)
return NULL;