../../src/demos/demo-1/demo-main.c: In function ‘inner’:
../../src/demos/demo-1/inner.c:6:3: warning: leak of ‘ptr_3’ [CWE-401] [-Wanalyzer-malloc-leak]
    6 |   longjmp (jbuf, 1);
      |   ^main’: events 1-2
    |
    |../../src/demos/demo-1/demo-main.c:8:8:
    |    8 |   if (!setjmp(jbuf))
    |      |        ^
    |      |        |
    |      |        (1)setjmp’ called here
    |    9 |     outer (42);
    |      |     ~   
    |      |     |
    |      |     (2) calling ‘outer’ from ‘main|
    +--> outer’: events 3-4
           |
           |../../src/demos/demo-1/outer.c:6:15:
           |    6 |   void *ptr = malloc (1024);
           |      |               ^
           |      |               |
           |      |               (3) allocated here
           |    7 |   foo (y);
           |    8 |   inner (y);
           |      |   ~            
           |      |   |
           |      |   (4) calling ‘inner’ from ‘outer|
           +--> inner’: events 5-6
                  |
                  |../../src/demos/demo-1/inner.c:6:3:
                  |    6 |   longjmp (jbuf, 1);
                  |      |   ^
                  |      |   |
                  |      |   (5)ptr_3’ leaks here; was allocated at (3)
                  |      |   (6) rewinding from ‘longjmp’ in ‘inner’...
                  |
    <-------------+
    |main’: event 7
    |
    |../../src/demos/demo-1/demo-main.c:8:8:
    |    8 |   if (!setjmp(jbuf))
    |      |        ^
    |      |        |
    |      |        (7) ...to ‘setjmp’ in ‘main’ (saved at (1))
    |