On 18 October 2017 at 17:03, walter harms <[email protected]> wrote: > > > fix a potential null pointer deference error > > Signed-off-by: Walter Harms <[email protected]> > > --- > src/replywait.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/replywait.c b/src/replywait.c > index b25c351..91a8dd6 100644 > --- a/src/replywait.c > +++ b/src/replywait.c > @@ -60,7 +60,8 @@ _IceAddReplyWait ( > } > > savedReplyWait = malloc (sizeof (_IceSavedReplyWait)); > - > + if (!savedReplyWait) > + return; Nit: Please keep a blank line after the if statement.
-Emil _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
