Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 39099:775f85b98e65 legacy-trunk
Fix memory leak under some conditions.
Reported by Klocwork, #98.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sun, 16 Jul 2006 02:17:36 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
